Community Forums 

Main Content

SKU discount "begins with"

    Jan 30 2017 05:52:20

    #1

    Arrowyn

    Join date : 2017-01-30      Posts : 2

    I'm trying to set up a discount code that applies only to greeting cards. I can't seem to get the discount coupon to work with my skus.

    I set up a coupon that applies 10% to any sku that begins with "GC" but it won't discount anything. If I remove the sku exemption it will discount everything 10% just fine. But it won't apply the sku exemption.

    Here's my code:
    <tr>
    <td width="18%"><a href="http://littlegoldfox.com/wp-content/uploads/2015/09/Holiday-cards-cardinal-150.jpg"><img class="alignleft size-thumbnail wp-image-120" src="http://littlegoldfox.com/wp-content/uploads/2015/09/Holiday-cards-cardinal-150-150x150.jpg"; alt="red cardinal christmas yule holiday card" width="75" height="75" /></a></td>
    <td width="78%">Cardinal Holiday Card : $2.50</td>
    <td width="4%"><input name="qty53" size="3" type="text" placeholder="qty" /><input name="product53" type="hidden" value="Cardinal Holiday Card" /><input type="hidden" name="scode" value="GCH02"/> </td>
    </tr>



    Jan 30 2017 08:18:53

    #2

    Alan

    Join date : 2008-09-18      Posts : 2945

    Try name="scode53".

    Alan
    Some shipping help documents are available at www.stoner.org.uk/mals/




    Jan 30 2017 20:34:11

    #3

    Arrowyn

    Join date : 2017-01-30      Posts : 2

    Alan said Try name="scode53".

    Zing! It's been a while since I coded this so I spaced that! Works like a charm now. Thanks!