• I am trying to add some code to add a product to the cart from a button click URL. One URL example is this:
    https://thewaterhaus.com/product/water-credit-gift-card/?add-to-cart=887

    When I put the item in my cart from the product page it will work fine. But if I add the product through the above URL I get this error, “The gift card has invalid amount”.

    The product is a gift card and the amounts are correctly inserted fine.

    This works in every way except when using the URL to add to cart. Please help.

    Thanks!

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello there,

    Thanks for contacting us, we hope you are doing well ??

    The same thing happens to me with the link as when pressing the “Add to cart” button.

    Could you send me screenshots, of the product-specific configuration you have sent me, and can you show me the “Recipient & Delivery settings for physical gift cards delivered at home” located in the section “YITH” > “Gift Cards” > “Recipient & delivery”?

    Let us know any news, please.
    Have a nice day!

    Thread Starter kyleets

    (@kyleets)

    Thank you. Here is a link to the screenshot of the Recipient and delivery settings, https://pasteboard.co/5zAhgHPovlqC.jpg

    And here is a screenshot of the product settings, https://pasteboard.co/vk86Sb0en2Vb.jpg

    The product works fine if I go to the product and checkout. But if I add the product to cart through URL it gives the error.

    Thank you!

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    We see that you have the premium version of our plugin, according to the images of the settings that you have sent us. We recommend you open a premium support ticket ??

    Have a nice day.

    Thread Starter kyleets

    (@kyleets)

    How do I open a premium support ticket? This is the forum I Was told to post to. Please point me in the right direction.

    Plugin Support Juan Coronel

    (@juaancmendez)

    Hello there,

    You can send us a ticket from the “Help” tab of our plugin.

    Have a nice day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error adding product to cart through URL’ is closed to new replies.