Announcement

Collapse
No announcement yet.

Changing the 'Add to cart' button text?

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

    Changing the 'Add to cart' button text?

    In v7 you could specify the text to be used for the buttons on a product-by-product basis. That facility has been removed on v8.

    We have a few (<10 products) that are non-stock items; on our old store we changed the 'Add to basket' text to 'Order product', to try and make it clear that this is something that isn't carried in stock.

    Is there any easy way to accomplish this? I have found one thread that talks about changing the button text, but that was a vastly larger task, quite technical, and do be perfectly honest, baffling.

    I see that there isn't any option for changing a button template or layout, so even creating a different 'add to cart' button with the text hard-coded couldn't be associated with just one product.

    Is this possible to easily change on a product-by-product basis? Or not?

    #2
    If you are not happy and do not understand creating and using variables, then you are probably best to contact someone to be honest. If you are happy in that area, then setup a site wide variable with the standard text and have 'use parent' set. You then use that variable as the add to cart text on your site.

    Then on products where you want to change it, just overwrite the 'use parent' setting and type in what you want to use instead.

    EDIT: If you was feeling brave, backup your store, and change the place of setting on the current Cart Button Text variable, it should (i think) then be available at product level, as you had before.

    Comment


      #3
      Originally posted by leehack
      If you was feeling brave, backup your store, and change the place of setting on the current Cart Button Text variable, it should (i think) then be available at product level, as you had before.
      Nice one, Lee! This worked, and now the 'Text for cart button' variable appears on every product, which I can override where necessary.

      Comment


        #4
        Cool, make sure you test it thoroughly though, i have no idea if it will present any hidden problems. It shouldn't, but well worth checking.

        Comment


          #5
          The only thing that I found was that I had changed the button text to 'Add to basket' rather than 'Add To Cart'. Changing the place of setting meant that it defaulted all the button text back to the initial value ('Add To Cart'), which then couldn't be overridden in the standard way (as far as Actinic was concerned, it was overridden!); instead it has to be done on a product-by-product basis.

          I got around this; I changed the AddToCartText variable back to the default place of setting, which reverted all buttons back to the initial value. Then I changed the initial value from 'Add To Cart' to 'Add to basket' - so both of the entries at the bottom of the window are the same - and then rechecked the product box in the place of setting window.

          This then made all the buttons say what I wanted, but then allowed me to edit individual buttons.

          I've tried it online, and they seem to work OK …

          Comment


            #6
            If it is also set at site and even section level, you should be able to do a global change on all that are still set to 'use parent'. You could do this on shop top or better still within site options.

            Comment

            Working...
            X