• Resolved cyshield

    (@cyshield)


    Hello,

    I am using two checkouts in a website.
    cart_one
    and
    cart_two

    cart_one is a normal checkout with products
    In cart_two, I added a special product into it (from cartflows tab “Products”).
    So whenever I go to URL: website.com/cart_two, that special product is being added to the cart automatically.
    I named the step_slug “cart_two”.

    When I use the “add to cart” button of that special product, it works as expected. The URL is attached to it “website.com/cart_two” and it is being added automatically.
    The issue is: when I type manually the url in browser, the product is added in cart as well.

    Can’t I modify it so that when I manually use the url of cart_two to show something like “the cart is empty” and only when I click on the product button to actually add the product in cart?

    Maybe if there’s a way to use a parameter in the url?
    cart_two?product=123
    or if there’s another way?

    Can you please provide any suggestions or help?
    Would really appreciate it.

    Thank you

    • This topic was modified 5 years, 2 months ago by cyshield.
Viewing 1 replies (of 1 total)
  • Plugin Support CartFlows Team

    (@cartflows)

    Hello @cyshield

    Thank you for getting in touch with us!

    If you have added/selected the product in the backend setting of the checkout page then it will be automatically added in the cart when you visit the checkout page by typing the URL or redirected from any other page.

    This is the default functionality of the CartFlows, to add the product in the cart which is selected in the backend as soon as the page is visited.

    As of now, there are no such options like “cart_two?product=123” but we have this feature in a plan and will be added in the CartFlows soon.

    Till now, the product will be added automatically to the cart as soon as the page is visited. On the other hand, you can try connecting the Flow to the particular product.

    In this, you don’t have to select the product in the backend of the checkout page but the product will be added only when it is added in the cart from the product’s page.

    Here is the article which will give you more information on it.

    I hope this helps you.

    Please let me know in case you have any questions.

Viewing 1 replies (of 1 total)

The topic ‘Checkout for specific product’ is closed to new replies.