Total price times quantity on Store detail page.
- 0.3.0
- 7.1
- Not Applicable
-
Install Store Page Price Change. After you install the code be sure to continue on with the rest of the steps.
-
Install code from Store Page Detail Price Force Mutation on Quantity Change. After you install the code be sure to continue on with the rest of the steps.
-
Options
-
Page Specific
- Add code from file store product detail price total.html to Store Settings > Advanced > Page Header Code Injection for the store page. Please see per-page code injection.
-
Site-wide
- Add code from file store product detail price total.html to Website > Pages > Website Tools > Code Injection > FOOTER. Please see Add code to code injection.
-
-
Add the following to searchReplaceText in the store page price change code per that codes instructions.
// store page detail price total "/\\d+(?:,\\d{3})*(?:\\.\\d{2})?/" : "twcSpdpt", "/\\d(?=(?:\\d{3})+(?!\\d))/g" : "$&,",
You can see a demo of this effect here.
Please consider making a donation.
-
2024-10-05
- rework code to use JavaScript Module Patterns for twc, twc.sppc, and twc.sppc.callbacks
- bumped version to 0.3.0
-
2022-01-31
- updated for compatibility with Store Price Change v0.3d8
- bumped version to 0.2d2
-
2022-01-29
- do not total on out of stock items
- bumped version to 0.2d1
-
2021-09-29
- updated to work with newer version of store price change
- bumped version to 0.2d0
-
2021-08-30
- updated references to code which this code depends on
- bumped version to 0.1d1
-
2021-08-22
- initial version