Announcement

Collapse
No announcement yet.

Checkout Error When Nothing In Cart

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

    Checkout Error When Nothing In Cart

    If you go to checkout from any page on the website, WITH NOTHING in the basket, we get taken to a non secure page and are asked if we want to display the non secure items.

    I've made sure my checkout link is https:// for the CHECKOUT button but it's the page it takes you to (the Bounce page is it?)

    Anyway we can get this so that it doesnt display the nast display message?

    #2
    Maybe there is a way you could use javascript to disable the checkout link until there is something in the cart.

    Try putting the following code in the <head> section of your pages:

    <SCRIPT LANGUAGE="JavaScript" TYPE="text/javascript">
    function CheckoutLink(pItem)
    <!--
    {
    var strIDs = ''
    {
    if (pItem >= 1)
    {
    strIDs = '<area shape="rect" coords="507,2,605,30" href="NETQUOTEVAR:NAVBCHECKOUTLINK" alt="Go to the checkout">'
    }
    else
    {
    strIDs = ''
    }
    }
    return strIDs
    }
    //-->
    </script>

    And then insert this code in place of the checkout link....

    <script language="Javascript">
    document.write(CheckoutLink(getCartItem(3)))
    </script>

    I haven't tested this, but I've done almost identical ones before.

    Comment


      #3
      Hi,

      Can you check the Primary templates that you are using. The BASEHREF line appears in the bounce.html page as <Actinic:BASEHREF VALUE="http://www.tiggypig.com/acatalog/"/></Actinic:BASEHREF>

      The </Actinic:BASEHREF> should not be at the end. Take a look at the original templates in the theme folder to compare against your own site template.
      ********************
      Tracey
      SellerDeck

      Comment

      Working...
      X