Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1006753

    Hi,

    I want to add a “Add to cart” button in my portfolio entries. When I just put in [add_to_cart] exactly these words appear, but no button or link or anything else.

    What´s wrong?
    please help me :)

    Thanks

    #1006789

    Hey seykom,

    What exactly are you looking to do? Have portfolio items available for purchase?

    Best regards,
    Jordan Shannon

    #1006991

    Hi,

    exactly :)
    My portfolio entrie slokks this way< at the moment (https://picload.org/view/dlipwiwa/bild1.jpg.html) and I would like to ahve the “Add top cart” button where I put in this red area. So that people can put the sweets into the cart when they look at the portfolio entry.

    Kind regards

    #1007098

    Hi seykom,

    You need to have WooCommerce installed for that shortcode to work. Do you have it?

    Best regards,
    Victoria

    #1007101

    Yes, for years.

    • This reply was modified 6 years, 3 months ago by seykom.
    #1007194

    Hi seykom,

    Here is a thread for you to consider
    https://stackoverflow.com/questions/41036540/woocommerce-add-to-cart-short-code-not-working

    If it is not a product and you’re not stating the product id or sku, it will not work.

    If you need further assistance please let us know.
    Best regards,
    Victoria

    #1007863

    Hi,

    thanks that worked.
    But when I click on the “add to cart” button there appears the product site of the product – only with a picture and again with “add to cart” button. And only if I click this button it gets added to cart. Do you know how I can prevent that the product page opens up and that customers have to do this “double cllck”?

    Thanks

    #1008420

    Hi,

    I did a quick test on my website and the add to cart button normally doesn’t link to another page.

    Please make sure your shortcode looks like:

    
    [add_to_cart id="99"]
    

    (of course the product id can be different). If the shortcode doesn’t work properly on a certain page please create us an admin account and send us a link to the page – we’ll look into it.

    Best regards,
    Peter

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.