Hide afterpay when price is greater than or equal price.
- 0.2.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.
-
Add the following to searchReplaceText in the store page price change code per that codes instructions.
// store page detail price gte afterpay hide "/$.+/" : "twcSpdpgah",
-
Options
-
Page Specific
- Add code from file store page detail price gte afterpay hide.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 page detail price gte afterpay hide.html to Website > Pages > Website Tools > Code Injection > FOOTER. Please see Add code to code injection.
-
If your currency symbol is not dollar sign then use the one set for your site.
Please consider making a donation.
-
2024-10-04
- rework code to use JavaScript Module Patterns for twc, twc.sppc, and twc.sppc.callbacks
- bumped version to 0.2.0
-
2024-05-11
- initial version