fbpx

Adding Coupon code on Shopify Product Page

  1. Create a new ‘Snippet’ File and paste following base liquid code. File name is – couponcode.liquid
<div class="copouncontainer">
    <div class="copoun_text">
        <p class="mainheadline">Get Extra 10% off</p>
April</p>
    </div>
    <div class="copypaste" id="copyPastew">
        <p id="cpnCode" class="codetext">NEW10</P>
        <p id="cpnBtn" class="taptocopy">Tap to cppy</p>
    </div>
</div>
  1. Create a new ‘Snippet’ File and paste following base liquid code. File name is – couponcode.liquid
<div class="copouncontainer">
    <div class="copoun_text">
        <p class="mainheadline">Get Extra 10% off</p>
April</p>
    </div>
    <div class="copypaste" id="copyPastew">
        <p id="cpnCode" class="codetext">NEW10</P>
        <p id="cpnBtn" class="taptocopy">Tap to cppy</p>
    </div>
</div>
  1. Create a new ‘Snippet’ File and paste following base liquid code. File name is – couponcode.liquid
<div class="copouncontainer">
    <div class="copoun_text">
        <p class="mainheadline">Get Extra 10% off</p>
April</p>
    </div>
    <div class="copypaste" id="copyPastew">
        <p id="cpnCode" class="codetext">NEW10</P>
        <p id="cpnBtn" class="taptocopy">Tap to cppy</p>
    </div>
</div>