Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

README.md

Store Page Detail Price Variant Add

Synopsis

Add prices to Store page detail variant.

Version

  • 0.2.0

SS Versions

v7.1 Fluid Engine Compatible

  • Not Applicable

Dependencies


Install

  • Install Store Page Price Change. After you install the code be sure to continue on with the rest of the steps.

  • Options

  • Read the code for any instructions within.

  • Add the following to searchReplaceText in the Store Page price change code per that codes instructions.

        // store page detail price variant add
        
        "[enter search text here between single quotes replacing square brackets]" : "twcSpdpva",
    

    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})?/.

Note

This code only works for one variant.

Make a Donation

Please consider making a donation.

Changes

  • 2024-10-05

    • rework code to use JavaScript Module Patterns for twc, twc.sppc, and twc.sppc.callbacks
    • bumped version to 0.2.0
  • 2022-10-02

    • initial version