Skip to content

Latest commit

 

History

History

Store Product Detail Price Variant Add

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Store Product Detail Price Variant Add

Version 0.1.0

v7.1 Fluid Engine Compatible : Not Applicable


Install

  • Install Store Price Change.

  • In the store price change code after the searchReplaceText example lines add the following code.

            '[enter search text here between single quotes replacing square brackets]' : spdpva, // store product detail price variant add
  • Add code from store product detail price variant add.html to Store Settings > Advanced > Page Header Code Injection for the store page before the store price change code. Read the code for any instructions within.

Note

The search text you enter needs to target the end of the price. For prices that end with a currency symbol, it is easy. For example if the currency is Euros then you enter for search text. If the price ends with numbers then things get a bit trickier. You need to use a regular expression. For example /(\\d+(?:,\\d{3})*)(\\.\\d{2})?/.

Make a Donation

Please consider making a donation.

Changes

  • 2022-10-02

    • initial version