Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Product Price with Default Options
Author    Topic »  

quadrant
Ecommerce Template Guru

United Kingdom
1123 Posts

Posted - 06/12/2026 :  04:14:18  
Hi, I have spent the last week adjusting our prices and have spotted an issue with our pricing on the products page and related products on the prod detail page.

Virtually all our products have a base product and then use options to show available quantities.

These options have a Price and Weight Diff set and for many years I have set the base price and weight on the actual product and then the first default option has the Price and Weight Diff set to 0.

There are many parts that have to be added to calculate each of our option prices and in the past we have had to subtract the base product price from each of the option prices to get the option Diff on all options except the default which is set to zero.

This time around to make life much easier we have set the base product price and weight to zero meaning the actual price and weight can be added to all the options including the default one.
Moving forward this will make price updates much quicker.

After a whole week of going through these what I didn't realise is that the default option prices do not seem to be included when the price is set to show on $productpagelayout and $csproductpagelayout.

I realise the title of the option column has the word Diff in it but I assumed the default price would include the default options just like it is when the product is viewed on the prod detail page.

Is there a way to set this to prevent the price showing as Price: 0 and include the default options as it does on the detail page?

Hopefully there is a setting I have missed but I am also happy to make a small tweak in the code if needed so I don't have to undo hours of work.

I'm on PHP 7.9.3

Regards,
David
     Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000