php – WooCommerce Price based on Cookie Value
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Anybody can ask a question
Anybody can answer
The best answers are voted up and rise to the top
Asked
Viewed
10 times
I have a cookie named “ppoint” and its value is “49.97”.
I want the price of the product on the checkout page to be set by the “ppoint” value (in this case 49.97). How should I do it?
I found this link, but I’m not quite sure if it’s relevant:
https://stackoverflow.com/questions/57568032/product-price-based-on-cookie-data-woocommerce
Codx Bre is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
2
lang-php

Leave an answer