tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/07/2017 : 10:36:03
Other than using the coupon code, I thought one of the distinguishing characteristics between coupons and discounts is that the assigned discount will be displayed at the top of the categories to which the discount is assigned ... but that is not happening.
Any ideas why or where to look?
Thanks!
Tim Gorski
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/07/2017 : 10:49:05
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/07/2017 : 10:49:56
ok ... I found "$GLOBALS['noshowdiscounts'" and set it to false, which now shows the discount in the category descriptions (on the categories.php page) but it still does not display at the to of the appropriate products.php pages.
Tim Gorski
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/07/2017 : 10:52:17
..."at the TOP of the appropriate products.php pages."
Tim Gorski
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/07/2017 : 11:21:25
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/07/2017 : 11:28:58
The discounts ARE assigned to the sub categories ...
Here's the category page so you can click into the sub-categories with the discount: https://www.bavariasausage.com/categories.php?cat=Gravies%2C+Soups%2C+Sauces+%26+Spices
Tim Gorski
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/07/2017 : 12:46:58
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/07/2017 : 13:27:17
I DO mean that ... isn't the discount message supposed to display above the category header?
Tim Gorski
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/08/2017 : 00:16:12
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/09/2017 : 09:10:10
The discount is applied to selected sub-categories when viewing the https://www.bavariasausage.com/categories.php?cat=Gravies%2C+Soups%2C+Sauces+%26+Spices page ... when clicking on the subcategories that DISPLAY THE DISCOUNT TEXT, shouldn't those products.php pages show the discount text as well?
Tim Gorski
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/09/2017 : 09:21:06
Are you using something like this in the code of products.php <?php $GLOBALS['nobuyorcheckout']=TRUE; // Removes buy and checkout buttons $GLOBALS['noproductoptions']=TRUE; // Removes product options $GLOBALS['showquantonproduct']=FALSE; // Removes quantity box $GLOBALS['showproductsku']=""; // Removes SKU field $GLOBALS['manufacturerfield']=""; // Removes Manufacturer field $GLOBALS['showinstock']=FALSE; // Hides out of stock products $GLOBALS['showproductid']=FALSE; // Removes product ID $GLOBALS['shortdescriptionlimit']=0; // Removes short description $GLOBALS['noshowdiscounts']=TRUE; // Hides discount text include "vsadmin/inc/incproducts.php";?> Andy Please feel free to review / rate our software
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/09/2017 : 13:49:15
That WAS it, Andy ... THANKS! ... so I take it that commands like that at the page level take priority over the includes file?
We're relatively new to the PHP side of the ECT platform after 10 or more years on the ASP platform.
That said, while we like what seems to be a greater feature set on the PHP side, I can't help but notice that forum is labeled "Unix/Linux/Apache", yet we're using PHP pages on a Windows server ... any problem with that?
Tim Gorski
|
Sinbad
ECT Moderator
USA
65937 Posts |
Posted - 10/09/2017 : 14:11:18
|
Andy
ECT Moderator
95440 Posts |
Posted - 10/10/2017 : 03:22:21
What I would do is remove all those lines (except the incproducts include line) and then use the product page layout parameter https://www.ecommercetemplates.com/help/css-layouts.asp#productorder so you can then define exactly which elements should appear on the products page. Andy Please feel free to review / rate our software
|
tgorski
Ecommerce Template Expert
USA
918 Posts |
Posted - 10/10/2017 : 08:38:26
Thank you both!
Tim Gorski
|
|
|