Announcement

Collapse
No announcement yet.

Showing Text if the Subtotal is over £100

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

    Showing Text if the Subtotal is over £100

    Hi

    I have been asked to take over the management of our Actinic system. Up untill today it has been ok. However I have been asked to show a message if the shopping cart subtotal is over £100 below is what I am using.

    block if
    <tr>Total is over £100</tr>
    block

    (<actinic:variable name="SubTotal" />>100 )

    This however is not working and no message is displayed.

    #2
    Blockifs don't work online, they're strictly a desktop only feature and run at page creation time. You need Perl or Javascript i suspect.

    Comment


      #3
      Javascript will do it.

      Rather than start from scratch. Take the code from the mini cart and change that to display what you want.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Make use of the existing inbuilt cookie with a bit of javascript to test the > value and output the results accordingly


        Bikster
        SellerDeck Designs and Responsive Themes

        Comment

        Working...
        X