custom price #850
Answered
by
juanpprieto
jamalsoueidan
asked this question in
Help
custom price
#850
-
Is it possible through hydrogen to change the price for a product? Even though in the shopify admin it's set to 600 or something. |
Beta Was this translation helpful? Give feedback.
Answered by
juanpprieto
May 6, 2023
Replies: 1 comment 5 replies
-
I don't understand the goal. If by "changing the price" you mean displaying a different value in the frontend than in the backend, the answer is yes you can (but I'd question the legality of it). At the end of the day, you have full control of the frontend. You won't however, be able to add this "fake" price to a cart or persist it to the checkout, because Shopify APIs will always return the correct price. |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
jamalsoueidan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I don't understand the goal. If by "changing the price" you mean displaying a different value in the frontend than in the backend, the answer is yes you can (but I'd question the legality of it). At the end of the day, you have full control of the frontend. You won't however, be able to add this "fake" price to a cart or persist it to the checkout, because Shopify APIs will always return the correct price.