Announcement

Collapse
No announcement yet.

COUPON NETQUOTEVAR code appearing

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    COUPON NETQUOTEVAR code appearing

    Helloooo....

    I've just upgraded from v6 catalog to v7 business.. I've got coupon codes selected for Shopping Cart and Checkout. But on Shopping Cart I get all the code from the NETQUOTEVAR html across the top of the screen! As far as I know that template hasn't been altered, so not sure how to get rid of it.

    This is the URL. http://www.survivalbox.co.uk/cgi-bin...CTION=SHOWCART

    I don't mind editing the template directly but it's so bl**dy hard to work out what template it is that's making it appear....

    Any ideas!!??

    Thanks.

    #2
    Hi,

    The template that brings in those values is 'Act_ShoppingCart.html', if you look at the template with an editor like Dreamweaver, using the design and code view, you will see where the values being displayed on the site are coming from. You will find it in C:\Program Files\Actinic v7\Sites\Site1\..

    From within the software go to Advanced | Template Manager | Ordering | Cart .. this will open the required template. The default editor is notepad.

    The Code around the Coupon entry area should be like this..

    NETQUOTEDEL:CAPTURECOUPON
    <!-- coupon entry begins -->
    <br>
    <table border="0" cellpadding="2" cellspacing="0">
    <tr>
    <td><strong>NETQUOTEVAR:COUPONTITLE</strong>&nbsp;NETQUOTEVAR:COUPONMESSAGE</td>
    <td valign="top">
    <input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'">
    </td>
    </tr>
    </table>
    <!-- coupon entry ends -->
    NETQUOTEDEL:CAPTURECOUPON

    If you do not have dreamweaver, then open the template in notepad and look for CAPTURECOUPON and then compare to see if the code looks the same. If not you can copy the code from here.

    Kind regards,
    Bruce King
    SellerDeck

    Comment


      #3
      Bruce, seems this is not the problem.. I've edited that file and the text you mention is not there - in fact there is no reference to Coupon. Is there another file that makes this page up? I've tried removing coupon altogether and it disappears but as soon as I add a coupon it appears again. If I uncheck the "Shopping cart" checkbox in the Coupon Codes group on the Miscellaneous tab of the Discounts and Surcharges settings it disappears. But as soon as I re-check the box, it is corrupted again.
      This is a copy of ACT_ShoppingCart.html when the error is appearing.

      I think it is happening when Actinic tries to REMOVE the code for coupons from Store Pages because if I leave Store Pages checked and Shopping Cart checked then it is OK, but as soon as I uncheck Store Pages the error occurs.

      What I want to have is just the Shopping Cart enabled.

      I've removed the ability to have coupons on the website for now. If you need to see it again let me know and I'll re-create it.

      <!-- ShoppingCart HTML begins here -->
      <!-- Add your Shopping Cart header html here -->
      <INPUT TYPE=HIDDEN NAME=CHECKOUTURL VALUE="NETQUOTEVAR:CHECKOUTURL">
      <DIV ALIGN="CENTER">
      <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=10 WIDTH="600">
      <TR>
      <TD> NETQUOTEVAR:REFPAGE <Actinic:CARTUPDATEERROR/> NETQUOTEVAR:CARTDISPLAY
      NETQUOTEDEL:CAPTURECOUPON
      <!-- coupon entry begins -->
      <br> <table border="0" cellpadding="2" cellspacing="0">
      <tr>
      <td><strong><font size="-1" face="arial">NETQUOTEVAR:COUPONTITLE</font></strong>&nbsp;<font size="-1" face="arial">NETQUOTEVAR:COUPONMESSAGE</font></td>
      <td valign="top"> <input type="TEXT" name="COUPONCODE" size="15" maxlength="255" value="NETQUOTEVAR:COUPONCAPTION" onFocus="this.value='';this.style.background='#FFFFFF'">
      </td>
      </tr>
      </table>
      <!-- coupon entry ends -->
      NETQUOTEDEL:CAPTURECOUPON
      <P>
      <TABLE BORDER="0" CELLPADDING=0 CELLSPACING="0">
      <TR>
      <TD align="center">
      <Actinic:REMOVE TAG="UpdateButton">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:UPDATEBUTTON">
      </Actinic:REMOVE>
      <Actinic:REMOVE TAG="UpdateButtonDisabled">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:UPDATEBUTTON" DISABLED>
      </Actinic:REMOVE>
      </TD>
      <Actinic:REMOVE TAG="ShoppingList">
      <TD align="center">
      <Actinic:REMOVE TAG="SaveButton">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:SAVEBUTTON">
      </Actinic:REMOVE>
      <Actinic:REMOVE TAG="SaveButtonDisabled">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:SAVEBUTTON" DISABLED>
      </Actinic:REMOVE>
      </TD><TD align="center">
      <Actinic:REMOVE TAG="RestoreButton">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:RESTOREBUTTON">
      </Actinic:REMOVE>
      <Actinic:REMOVE TAG="RestoreButtonDisabled">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:RESTOREBUTTON" DISABLED>
      </Actinic:REMOVE>
      </TD>
      </Actinic:REMOVE>
      <TD align="center">
      <Actinic:REMOVE TAG="ContinueButton">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CONTINUEBUTTON">
      </Actinic:REMOVE>
      <Actinic:REMOVE TAG="ContinueButtonDisabled">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CONTINUEBUTTON" DISABLED>
      </Actinic:REMOVE>
      </TD>
      <TD align="center">
      <Actinic:REMOVE TAG="CheckoutButton">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CHECKOUTBUTTON">
      </Actinic:REMOVE>
      <Actinic:REMOVE TAG="CheckoutButtonDisabled">
      <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CHECKOUTBUTTON" DISABLED>
      </Actinic:REMOVE>
      </TD>
      </TR>
      </TABLE>
      </P>

      <!-- NETQUOTEVAR:BACKLINK -->

      </TD></TR>
      </TABLE>
      <Actinic:EXTRAFOOTERTEXT><TABLE><TR><TD><IMG SRC="NETQUOTEVAR:POWEREDBYLOGO" WIDTH="45" HEIGHT="50" BORDER="0" ALT=""></TD><TD><FONT SIZE=1><B>NETQUOTEVAR:TRADEMARKS</B></FONT></TD></TR></TABLE></Actinic:EXTRAFOOTERTEXT>
      </DIV>
      <!-- Add your Shopping Cart footer html here -->
      <!-- ShoppingCart HTML end -->

      Comment


        #4
        I had exactly the same problem but,, unfortunately, I've changed PC (new one since moving house) since sorting it and all my correspondence and previous templates are now archived on the old PC!
        I received a template from Actinic support which just displayed the code and not the coupon entry.
        I ended up removing the shopping cart entry option and just having it at checkout with a note that it will be asked for during checkout so the customer knows they will be asked.
        I have, however, got it back in the cart now (or, at least, when you "view cart" after adding) but I can't recall how the template differed... I'll have a look when I get a minute (putting kids to bed at the mo!)
        Tracey

        Comment


          #5
          Hi there

          This is a bit of a tricky issue so I'll step in.

          The problem is that your Act_Primary.html template (which inserts the top and bottom of the page design) contains the code for inserting the coupon code into the store pages. However, this file is being used to insert the top bit and bottom bit of the 'view cart' page too - hence the 'view cart' page has a coupon field along the top of the page, and a coupon field underneath the shopping cart.

          What you need to do is to use an 'overall layout' template (i.e. a template for the top and bottom of the page) for your 'view cart' page that does not have the coupon code in it.

          To do this...

          Go to 'Design | Options | Layouts'
          Find the 'View Cart Layout' field.
          Change this to read 'Template for shopping cart and checkout.'
          Click 'OK'

          I think that should do it.

          Comment


            #6
            That worked like a dream, Thank you.

            Comment


              #7
              Coupon confirmation

              Slightly different coupon entry problem...

              I have coupon entry enabled on Cart and Checkout pages. However, when a correct coupon is entered in the shopping cart page and you click 'update', the cart page simply refreshes without any visual alteration. I know that the coupon has been accepted behind the scenes, but the cart details/price shown does not reflect this. It is only later on the checkout page that you find out the coupon was previously accepted.

              If an incorrect coupon is entered in the shopping cart, the page refreshes with an error message (which is fine).

              I just want our customers to know that their coupon code has been accepted and enable them to see that their discount in the shopping cart - before they think it's a duff coupon.

              Any help appreciated

              (www.elitegolfonline.co.uk)

              Comment


                #8
                Hi Carl,

                This thread will be of help to you http://community.actinic.com/showpos...10&postcount=7

                Kind regards,
                Bruce King
                SellerDeck

                Comment


                  #9
                  Coupon

                  Thanks Bruce. I've managed to include a confirmation message when the update button is clicked. Is there any way that I can get discounts from coupons to show in the shopping cart immediately?

                  At the moment, the coupon discount is not actually shown to the customer until he/she enters card information (a long way down the order process).

                  If you go through the order process and then back-track, the shopping cart does reflect the coupon discount. Why doesn't it reflect the coupon discount originally, when the coupon is entered?

                  Comment


                    #10
                    Hi Carl,

                    That is because Actinic uses static HTML pages on the website and hence cannot dynamically display the discount as soon as a coupon code is entered. It needs for the scripts to come into play to be able to calculate the discount.

                    Kind regards,
                    Bruce King
                    SellerDeck

                    Comment


                      #11
                      OK. Thanks again Bruce.

                      Do you have any ideas on this one?: http://community.actinic.com/showthread.php?t=15250

                      Comment

                      Working...
                      X