Quantcast
Channel: Opinion: Shopify Community - Shopify APIs & SDKs
Viewing all articles
Browse latest Browse all 25503

Hey Jones! commented on How to add custom description and price product into shopping cart on the fly from a remote URL

$
0
0

I had to do something similar recently. What I did was create a Variant on the fly via the AJAX api with the total price of the options that the user selected and stored those option values in the Line Item Properties so that they would be visible to the user and the shop owner.

http://docs.shopify.com/support/your-store/products/how-do-I-collect-additional-information-on-the-product-page-Like-for-a-monogram-engraving-or-customization

The obvious limitation is that you can only have a maximum of 100 Variants. I just had my script delete the oldest Variant when the maximum was reached. Not bulletproof but should work depending on how many users you have at once.


Viewing all articles
Browse latest Browse all 25503

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>