Announcement

Collapse
No announcement yet.

Multibuy text

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

    Multibuy text

    I have set up multibuy prices for 1,2,3,5 & 10 items respectively. Whilst it works fine the text showing on the site is as follows:

    Price: (1 item) £18.39 / €24.27
    Price: (2 to 2 items) £17.66 / €23.31
    Price: (3 to 4 items) £17.09 / €22.56
    Price: (5 to 9 items) £15.76 / €20.80
    Price: (10 or more items) £15.19 / €20.05.

    How do I change the text of Price: (2 to 2 items) £17.66 / €23.31 to
    Price: (2 items) £17.66 / €23.31
    Fitness for life!www.fitness-focus.co.uk


    DIFN - Doing nothing is not an option

    The Supplement Warehouse - Bodybuilding & Fitness Supplements

    #2
    Hi,

    In your price layout locate the line:

    (QuantityDescMin to QuantityDescMax)

    Replace it with:

    Code:
    <actinic:block if="%3cactinic%3avariable%20Name%3d%22QuantityDescMax%22%2f%3e%20%3d%3d%202" >
    			(<actinic:variable Name="QuantityDescMax"/> items)
    		</actinic:block>
    		<actinic:block if="%3cactinic%3avariable%20name%3d%22QuantityDescMax%22%20%2f%3e%20%3e%202" >
    	(<actinic:variable Name="QuantityDescMin"/> to <actinic:variable Name="QuantityDescMax"/> items)
    </actinic:block>
    ********************
    Tracey
    SellerDeck

    Comment


      #3
      Thanks TraceyG. Works a treat. I think that this is something that should be incorporated in V9 as standard though.
      Fitness for life!www.fitness-focus.co.uk


      DIFN - Doing nothing is not an option

      The Supplement Warehouse - Bodybuilding & Fitness Supplements

      Comment


        #4
        Actually, the above code will only work for the scenario you gave initially (ie where '2' would be a line on its own). After giving it some more thought, the following code will work for other single price breaks (for example, with price breaks set at 1, 2, 3, 4, 7, 8, 10)

        <actinic:block if="%3cactinic%3avariable%20Name%3d%22QuantityDescMax%22%2f%3e%20%3d%3d%20%3cactinic%3avariable%20name%3d%22QuantityDescMin%22%20%2f%3e" >
        (<actinic:variable Name="QuantityDescMax"/> items)
        </actinic:block>
        <actinic:block if="%3cactinic%3avariable%20name%3d%22QuantityDescMax%22%20%2f%3e%20%21%3d%20%3cactinic%3avariable%20name%3d%22QuantityDescMin%22%20%2f%3e" >
        (<actinic:variable Name="QuantityDescMin"/> to <actinic:variable Name="QuantityDescMax"/> items)
        </actinic:block>
        </actinic:block>
        This would look like:

        Price: (1 item) £31.00 (Excluding VAT at 17.5%)
        Price: (2 items) £30.00 (Excluding VAT at 17.5%)
        Price: (3 items) £29.00 (Excluding VAT at 17.5%)
        Price: (4 to 6 items) £28.00 (Excluding VAT at 17.5%)
        Price: (7 items) £20.00 (Excluding VAT at 17.5%)
        Price: (8 to 9 items) £19.00 (Excluding VAT at 17.5%)
        Price: (10 or more items) £18.00 (Excluding VAT at 17.5%)
        ********************
        Tracey
        SellerDeck

        Comment

        Working...
        X