Announcement

Collapse
No announcement yet.

Another Wishlist addition

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

    Another Wishlist addition

    Hi Guys,

    I'm currently building a site that using qty based price breaks and i'd like to be able to set the generic name of the 'item' on a per-product basis. Rather than having (%s or more items) ID:221/288, (%s to %s items) ID:222/289 and (%s or fewer items) ID:223/290, an ideal situation would allow us to set a product specific name for 'items' i.e.

    I set the generic name on a product to 'tubes' then I can have

    • (4 or fewer tubes) £6.99 (Including: VAT at 17.5%)
    • (5 to 9 tubes) £5.99 (Including: VAT at 17.5%)
    • (10 to 19 tubes) £4.99 (Including: VAT at 17.5%)
    • (20 to 49 tubes) £4.49 (Including: VAT at 17.5%)
    • (50 or more tubes) £3.98 (Including: VAT at 17.5%)

    This shouldn't be too hard to implement guys, so how about it
    Matt
    Actinic User since v.3

    Custom Actinic Site Specialist:
    <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
    <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
    <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

    #2
    Ok, well it took me all of like 2 mins to actually work out how to do it once I though about it, but using a CUSTOMVAR is a bit of a hack afaik.

    For anyone that's interested, I defined a CUSTOMVAR as GNAME, then added it to the product with the value 'tubes'. I then changed ID:288, 289 and 290 by removing the items) from the end then modified Act_ProductPrice.html - after NETQUOTEVARISCOUNT_QUANTITY add &nbsp;CUSTOMVAR:GNAME)

    That way, the CUSTOMVAR is appended after the price break text.

    As I said, it's not a particularly pretty way of doing it, but it works
    Matt
    Actinic User since v.3

    Custom Actinic Site Specialist:
    <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
    <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
    <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

    Comment


      #3
      Just to bring this back up as no one from actinic replied... This hack works until you specify a price break so that you have '1 item' - the way I've had to hack it results in '1 tubes' which is gramatically incorrect and I can't see any way to do it without a load of javascript to append an 's' to all the plurals or something similar, so, could this be added to the wishlist that we'd like to be able to name our 'items' more specifically
      Matt
      Actinic User since v.3

      Custom Actinic Site Specialist:
      <a href="http://www.glowsticksdirect.co.uk/">GlowSticksDirect.co.uk</a>
      <a href="http://www.digishopdirect.co.uk/">DigiShopDirect.co.uk</a>
      <a href="http://www.calibreshopping.co.uk/">CalibreShopping.co.uk</a>

      Comment


        #4
        No worries - I'll add this to the wish list.

        Your solution is probably better than something I could have suggested anyway... although you can edit the text for the quantity breaks in Design Text Phase:-1 IDs: 286-290.

        Comment

        Working...
        X