Script Editor "You can also preview on the Online Store." Link Issue

Rob808
New Member
2 0 0

I've created a "Tiered Spend $X, Get Y% Off" script that's triggered by a particular discount code.   It's a hybrid of the following two scripts from the documentation:  

  • Tiered product discount by product spend
  • Product discount by discount code

It works great in the Script Editor:

blurred.png

 

However, after clicking on the " You can also preview on the Online Store. " link, the discount code is no longer recognized:

discount.png

 

Is there something wrong with the link?  Will code that runs in the Script Editor work in production?  Any help would be appreciated.

 

 

Replies 0 (0)