Announcement

Collapse
No announcement yet.

add to cart (button not image)

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

    add to cart (button not image)

    Any idea why a button doesnt work in add to cart form, but the image does? Remove button and add image and its fine. I wonder if its something to do with the 'value' option?

    Code:
    <input type="image" src="http://www.madmash.com/graphics/addtocart.jpg" name="_<Actinic:Variable Name="ProductReference"/>" alt="Add <actinic:variable name="ProductName" /> to Cart."/>
    Code:
    <input style="cursor: pointer;" class="prod_addtocart" type="button" value="Buy It" name="_<Actinic:Variable Name="ProductReference"/>"/>

    Thanks,
    Paul.

    #2
    Try something like this instead...
    <input type="submit" value="<Actinic:Variable Name="CartButtonText"/>" name="_<Actinic:Variable Name="ProductReference"/>" class="form_button_add_to_cart" />
    You can then input the text you want your button to display in 'Settings | Site Options | General | Product' enter the value against 'Text for Cart button'.

    Kind regards,
    Bruce King
    SellerDeck

    Comment

    Working...
    X