Announcement

Collapse
No announcement yet.

Drop down offering a choice of free gift in checkout

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

    Drop down offering a choice of free gift in checkout

    Hi all

    Using Business V7, is it possible to offer a choice of free gift (using a drop-down) in the checkout. The free gift should only be available if the order value is above a minimum amount.

    Using one of the user definable fields in the checkout, I can add a drop-down with the choice of free gift. But this requires the shopper to be honest and not choose a gift if they haven't bought the minimum.

    Any ideas?

    Thanks
    Bob
    Bob Smith
    Quality Workwear Clothing
    Personalised Corporate wear
    www.workwearhouse.co.uk

    #2
    2 ways to get the total into a JavaScript variable so you can use it to validate the checkbox:-

    1) You can call the JavaScript function getCartItem(1) to return the value of the cart.

    2) It should also be possible to do some JavaScript like

    var total = 'NETQUOTEVAR:TOTAL';

    in Act_ShoppingCartXML.html (you have to put this code within the <Actinic:REMOVE TAG="TotalRow"> ..... </Actinic:REMOVE> block.

    In both cases you may have to remove some currency symbols, embeddded commas (i.e. for 1,000.00) before you can use this as a number.
    Norman - www.drillpine.biz
    Edinburgh, U K / Bitez, Turkey

    Comment

    Working...
    X