I want to send my custom price to the cart page without any apps. please see the videos https://drive.google.com/file/d/1qi5azcGXUOYO8sEk4skilXoOzMPlltFe/view?usp=sharing
Topic summary
A user is attempting to pass a custom-calculated price from the product page to the cart page in Shopify without using third-party apps.
Current Implementation:
- Custom pricing is being calculated on the product page using jQuery
- Multiple hidden products are added together to display the total custom price
Issue:
The custom price is not transferring to the cart page as expected (referenced in a shared video)
Proposed Solution:
Another participant suggests replicating the same jQuery logic using Liquid code on the cart page template
Status:
The original poster is requesting specific code examples to update the price on the cart page. The discussion remains open with no concrete code solution provided yet.
We have replaced the custom price with jQuery.
But how are you calculating ? are you adding multiple hidden products together and showing the total price with jquery as custom price ?
Yes
Okay. Then you have to do the same thing with liquid code for cart page.
how to update price in cart page can you send me the code please