Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Hiding Price of individual options in Product page and in cart

$
0
0

Replies: 0

Hi,
I am using PPOM for adding options to a Woocommerce Product. What I want to do is to remove the display of price for each individual option in the product page as well as in the cart, while showing the total price only (and neither the option total nor each option’s price).

Thus, presently we have a T-shirt as a product with base price: $50 and different pricing for the PPOM Field “Size” as a “Radio Input” with one option “XL” (which costs $15 extra) and the other option “XXL” (which costs $25 extra)
The option is display in the product page as
Size
XL [+$15]
XXL [+$25]

Similar add-on pricing is shown in the cart page as well. Thus if you select a T-shirt of size XXL, the cart shows Size: XXL [+$25]

What I want to do is :
i) In the product page to display above options only as XL or XXL. Moreover depending on the option selected, the total pricing needs to be shown (without the option total shown separately). Of course the pricing of the option needs to be taken into account while calculating the total price.

ii) In the cart page, to again display only the selected option e.g. Size: XXL. Of course the pricing of the option needs to be taken into account while calculating the total price.

I have explored the three options in the setting “Control price display on product page” (i.e. Do not show Price Total, Show Only Option’s Total, and Show Each Option’s Price) but none of them are helping me achieve the above objectives.

Can you please help?


Viewing all articles
Browse latest Browse all 59525

Trending Articles