Jump to content
  • 0

Adding 2 Products To Cart - Customized Order Form


Rocketz

Question

I'm building an order form directly on my website, so bypassing Blesta's order forms and making it easier for customers to order.

 

The idea is to pull product data via API, and then creating a direct link to a product. 

 

The problem I'm having is that for example, I have product 1, it has its own addons and configurable options. This part is fine. 

 

I also have a second product that *NEEDS* to be its own product. It cannot be an addon. Think SSL certificates where you want to allow customers the ability to buy them separately from their main services, and they need to be billed separately. 

 

 

How can I have a customer add those 2 products with one direct link? Any ideas? 

 

For example : http://domainname.com/blestafolder/order/main/packages/order-form-name/?package_id=1&group_id=1&package_id=2

 

Would that work? 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Not sure I understand... 

 

I can't send both commands via checkout link. For example :

 

http://domain.com/clients/order/main/index/standard/?group_id=2&pricing_id=4  it works

 

but http://domain.com/clients/order/main/index/standard/?group_id=2&pricing_id=4&group_id=1&pricing_id=2  does not work, only gives the second product and then errors out. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...