Flexdiscount - Shop setup

Shop setup

If You want the plugin dynamically update prices, understand what is happening on the site, you need to make changes to your theme design through the.

If you cannot find the file or code, ask the developer of theme design for help.

  1. cart.js
    Find the code:

    Add inside the code to get something like this:
  2. list-thumbs.html,or catalog.html, or products.html (template of product catalog)
    Find code similar to this:

    You should add class flexdiscount-product-form to the tag "form":
    а) If tag "form" has attribute "class", for example

    Should turn out like this:
    б) If tag "form" doesn't has attribute "class", then add it

    Find code similar to this:
    or if you can't find "li", then try first "div" (product block)

    Add class flexdiscount-product-wrap to the tag "li" by analogy with the previous example:

    If You have quick view of the product, and flexdiscount plugin update wrong blocks, you have to change the radius of the updates.
    Specify class flexdiscount-product-wrap for the parent element, from which the search will start.
    In previous example we made it.
  3. product.cart.html
    Find code similar to this:

    You should add class flexdiscount-product-form to the tag "form":
    а) If tag "form" has attribute "class", for example

    Should turn out like this:
    б) If tag "form" doesn't has attribute "class", then add it
  4. cart.html
    At the beginning add code:

    Find code similar to this:

    Add condition at the end of this code:
  5. Shop - Plugins
    Find in sidebar plugin "Flexdiscount". Drag it to the bottom. You need to get it under all plugins.
  6. Affiliate program
    Plugin provides bonuses with a standard affiliate program of Shop-Script. If You decide to use affiliate program using the plugin Flexdiscount, perform the following steps to avoid unnecessary bonuses from Shop-Script, and from Flexdiscount:
    • Open Shop - Settings - Affiliate program
    • Enable affiliate program.
    • Set credit rate as zero.
      Therefore, the bonuses will be available only through Flexdiscount.
  7. Yourshop
    For users of theme design Yourshop:
    • Open Shop - Storefront - Templates. Open cart.html
    • Find code:
    • Change it to:

Learn more about special offers right now!