Product Designer Tool Update Cart

Highlighted
New Member
3 0 0
My developers are saying that Shopify does not allow third party apps to update the customer’s cart.

As a result when customer edits his/her product specifications the cart won’t reflect the proper cost.

Has anyone found a workaround to this?

They are encouraging me to switch to Magento or Woocommerce, but I’m reluctant because I don’t know coding and per what I’ve found those two platforms require developer assistance to do anything.

I would greatly appreciate the community's help.
0 Likes
Shopify Staff
Shopify Staff
135 22 27

Hey @EPadmin ,

 

Could you provide some more information please about your use case of the customers editing their product specifications will cause the cart to not reflect the proper cost? Specifically, where in this process would you need 3rd party apps and why wouldn't the cart be updated to reflect the proper cost?

 

Shopify does have the AJAX API, which is an API that allows you to create, read, update and clear a customers cart. You can read more about this API here. Hopefully this helps you and your team to accomplish what you are looking for.

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes
New Member
3 0 0
Hassain,

Thank you for your response.

On our site there are various edits to a product’s design that change the pricing of the order. For example adding additional
colors to a design changes the final cost.

Per my developers the price in the customer’s cart will only reflect the product (t-shirt) price instead of the total cost for the product and the specifications.

Are you saying that there is a way to work around that limitation?
0 Likes
Shopify Staff
Shopify Staff
135 22 27

Hey @EPadmin ,

 

Thank you so much for providing more information about your use case and what you are trying to accomplish! It was extremely helpful to me.

 

The AJAX API I mentioned in my last comment will allow you to add and remove different items to your customer's cart through programmatic means. However, it is not possible at all through this API or through Shopify to edit/change/adjust the price of a particular product on the fly for a specific customer's purchase.

 

To achieve what you are trying to accomplish, you should leverage Product Variants. Variants allow you to specify various options and customization for your product, and for each variant you can specify its unique price, inventory quantity, and shipping rules. So in your use case, you would create a separate variant for each combination of edits the customer could potentially apply to the product and then set the correct price to each variant. Read more about how to create and add variants to your product here.

 

If you have a lot of potential combinations of edits for your products that would make it too difficult to create each variant manually through your Shopify store's admin, you can look into using the Shopify Admin API to programmatically create brand new variants for your product on the fly as your customers choose the edits they want for the product (read this document for how to do this in REST, and this document for how to do this in GraphQL). If you do not have the developer resources to use the Shopify Admin API to programmatically create brand new variants, you can look into one of the many Shopify Apps available on the Shopify App store that will allow you to achieve this. For example this one.

 

Hassain | Developer Support Specialist @ Shopify
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution 

0 Likes