• Resolved kkitran

    (@kkitran)


    Hello,

    Is it possible with a single button to add two “Buy Now” products to the same checkout? Or perhaps a workaround to adding two products with a single button to checkout.

    Since variables aren’t in Surecart yet, I am trying to figure out a workaround.

    Thanks!

    • This topic was modified 2 years, 2 months ago by kkitran.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Aamir

    (@aamiribsf)

    Hello @kkitran,

    Greetings of the day!

    You can create a custom checkout form in SureCart with two products added to it. Then you can create a new page and put the shortcode of that checkout form on it.

    Next, you can use the page link and put it in some button with Buy Now text. This way when someone clicks that button, it will open that checkout page with two products added to it by default.

    I hope this helps. Looking forward to hearing from you.

    Plugin Author Andre Gagnon

    (@2winfactor)

    Hi @kkitran

    Sorry, let me clarify because what @aamiribsf said is not quite right.

    You can certainly add 2 products to a checkout button without creating a separate form. If you are using the Gutenberg editor, you can do this when you add a button and add multiple products.

    If you are doing this through a shortcode, you can add multiple line item shortcodes inside:

    
    [sc_buy_button]Buy Now 
    [sc_line_item price_id=70ec92a1-4eec-4479-ba7d-935379343164 quantity=1]
    [sc_line_item price_id=fe3c81a2-455a-45f5-b20a-5944145dd18a quantity=1]
    [/sc_buy_button]
    

    Let me know if you have any questions about this.

    Thread Starter kkitran

    (@kkitran)

    Thanks so much Aamir! It worked great! It would be awesome if we had the option for individual products to be editable rather than all products.

    Thread Starter kkitran

    (@kkitran)

    Oh wow! This is great too! Thanks Andre!

    Thread Starter kkitran

    (@kkitran)

    @2winfactor is it possible to do this with a link rather than a shortcode? Also, I have changed the text from “Buy Now” to “Proceed to checkout” but it hasn’t rendered the new text :/ and I haven’t been able to make the button full width.

    • This reply was modified 2 years, 2 months ago by kkitran.
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Two products into the same checkout’ is closed to new replies.