Display Product Prices not Variant Prices on products page
What do I need to change in my templates to display the list_price and price from the products detail page (in admin section) on the products/category pages in the front end regardless of whether it has variants or not.
I have products set up as follows:
product list_price: $99.99
product price: $89.99
variant 1 (actual product) list_price: $99.99
variant 1 (actual product) price: $89.99
variant 2 (repair kit for product) list_price: $4.99
variant 2 (repair kit for product) price: $3.99
Problem is that on the products/category page as well as in the featured products it will display:
Product list_price; $99.99
variant 2 price: $3.99
And show a discount of 96%
Very misleading.
I need it to have it display the list_price and price from the main product (not the cheapest variant) so that I can show the pricing for the product and not the list_price of the product and the price of the repair kit.
I have searched the forum and found this problem posted a few times with no fixes.
I would just like to know where in the code I need to edit so that it doesn't display pricing from the variants on the products/category pages.
Thanks,
Jason.
__________________
x-cart 4.0.13
|