Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello ylyas,

    Thank you for contacting WooCommerce support.

    You will need to enter a URL along with the Product ID.
    Here is an example:
    https://zubair-testing.mystagingwebsite.com/checkout/?add-to-cart=73

    You can easily find product IDs on the Products page:

    Please don’t hesitate to contact us again if you have more questions or concerns.
    We are here to help ??

    Best regards.

    Thread Starter ylyas

    (@ylyas)

    So in my case is it enough to indicate it like this: https://softnchic.com/checkout/?add-to-cart={id}

    but when I try to test the URL link in Merchant Center it opens a checkout page of my last added product to my store, is okay? Please watch this screencast

    Thread Starter ylyas

    (@ylyas)


    @doublezed2 I was told by Google community expert this thing below:

    the direct-checkout feature likely must first be enabled within the
    ecommerce-platform, and then the actual id of the product variant
    must be used as the id — {id} is likely only a template, not the literal
    url snippet that must be used.
    e.g.
    add-to-cart=1488 or similar — not literally add-to-cart={id}

    as was indicated, the best likely course would be to contact
    the ecommerce-platform support-organization, directly, to ask:
    (a) how to enable the direct-checkout feature within woo-commerce;
    (b) how to locate the exact id value, to use with the url, with respect
    to a particular item-offer, size and color, in place of an {id}, within
    the word-press, woo-commerce, platform.

    Zubair please tell me whether woocommerce plugin has that direct-checkout feature which allows to locate exact id value, to use with the url, with respect
    to a particular item-offer, size and color, in place of an {id}

    Plugin Support Jonayed (woo-hc)

    (@jonayedhosen)

    Hi @ylyas

    Yes; you are correct. WooCommerce allows you to create direct checkout links for specific product variations by using their unique variation IDs.

    To target a variation, go to Products > Edit for the product you want, then navigate to the Variations section. Each variation will have its corresponding ID, typically shown with a # symbol, which you’ll need to exclude.

    For example, if the variation ID is #93, your direct checkout link would look something like this:

    https://yourdomain.com/checkout/?add-to-cart=93

    If you still have any confusion, feel free to refer to this helpful guide: WooCommerce Direct Checkout Link Guide.

    I hope this clears things up! Let me know if you have any other questions.

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