Announcement

Collapse
No announcement yet.

Homepage button from cart doesn't go to homepage...

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

    Homepage button from cart doesn't go to homepage...

    In my shopping cart there is a button called 'back to homepage', however when clicked it returns to the product page that called the cart, not the homepage. This maybe down to me messing about with the store, so I don't really want to figure out why, I just want to know how to customise it to go where I want.

    The specific code for this button (in Act_ShoppingCart.html) is -
    Code:
    <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>
    Now, "NETQUOTEVAR:CONTINUEBUTTON" is the text on the button, which I don't care about, so which bit of this code is telling it what to do when pressed???
    John

    #2
    None of it. The 'what to do when pressed" is in the perl script. Has Norman's answer to your bounce page question not resolved this problem at the same time?
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      No, that fix just removed the link from the description.

      This problem is how to redirect the button. Rather than mess with the perl could I comment out the above section of code, and then insert my own code that displays an identical button (so it matches the others on the page) but goes where I want it to? What would the code look like to do that?
      John

      Comment


        #4
        John,

        The perl workaround is not a very major one and a better method to putting in your own code. It is detailed in the following Knowledge Base article http://knowledge.actinic.com/acatalo...es.html#aKB438

        If you want the button to display an image you must have an image called 'continue_shopping.gif' in your Site1 folder. This is the code I have in my ShoppingCart.html (Smart Theme)
        <TD align="center">
        <Actinic:REMOVE TAG="ContinueButton">
        <!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CONTINUEBUTTON"> -->
        <INPUT TYPE="IMAGE" NAME="ACTION_CONTINUE" SRC="continue_shopping.gif" ALT="NETQUOTEVAR:CONTINUEBUTTON">
        </Actinic:REMOVE>
        <Actinic:REMOVE TAG="ContinueButtonDisabled">
        <!-- <INPUT TYPE="SUBMIT" NAME="ACTION" VALUE="NETQUOTEVAR:CONTINUEBUTTON" DISABLED> -->
        <INPUT TYPE="IMAGE" NAME="ACTION_CONTINUE" SRC="continue_shopping.gif" ALT="NETQUOTEVAR:CONTINUEBUTTON" DISABLED>
        </Actinic:REMOVE>
        </TD>
        Kind regards,
        Bruce King
        SellerDeck

        Comment

        Working...
        X