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
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Product discount statement
Author « Topic »  

Electric Matthew
New Member

53 Posts

Pre-sales questions only
(More Details...)

Posted - 10/28/2019 :  17:20:38  
Hi,

Is there a way to have the statement "Product discounts do not apply to this item"
appear on the item itself?

Right now it only appears under Related Items.

[img]http://www.cableart.com/images/001.jpg[/img]

[img]http://www.cableart.com/images/002.jpg[/img]

-Thanks

dbdave
ECT Moderator

USA
10292 Posts

Posted - 10/28/2019 :  18:27:56  
Hi, either in your includes, or in the proddetail.php page, you should have defined what elements you want to show.

I believe you want to add discounts to the list where you want that to appear.

https://www.ecommercetemplates.com/help/css-layouts.asp#proddetail

$detailpagelayout='navigation, checkoutbutton, productimage, productid, manufacturer, sku, productname,discounts, instock, description, listprice, price, quantity, currency, dateadded, options, addtocart, previousnext, emailfriend, reviews, socialmedia';

Sinbad
ECT Moderator

USA
65936 Posts

Posted - 10/28/2019 :  20:25:20  
Another method would be use use the custom fields in your page layout parameter.

$detailpagelayout='navigation, checkoutbutton, productimage, productid, manufacturer, sku, productname,custom1, instock, description, listprice, price, quantity, currency, dateadded, options, addtocart, previousnext, emailfriend, reviews, socialmedia';

See more info on custom fields https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#csslayout

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

Electric Matthew
New Member

53 Posts

Pre-sales questions only
(More Details...)

Posted - 10/29/2019 :  15:57:13  
Neither worked.

Thanks anyway though.

dbdave
ECT Moderator

USA
10292 Posts

Posted - 10/29/2019 :  16:42:25  
Hi, both should work.
Can you tell us how you implemented that text on the product pages?
A link to the site may help as well. Perhaps you are hiding the discount text with css for example.

David

Edited by - dbdave on 10/29/2019 16:43:09

Phil
ECT Moderator

United Kingdom
7625 Posts

Posted - 10/30/2019 :  02:00:21  
Hi,
It's not working because you're not using the css layouts.
What you need to do is use the css layouts as described here - https://www.ecommercetemplates.com/help/css-layouts.asp



* Database Migrations and Conversions*
* ASP to PHP Cart Conversions*

*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Vince
Administrator

42488 Posts

Posted - 10/30/2019 :  02:31:10  
I'm sorry for arriving late to this thread but actually, this is behaviour as intended. The discounts that apply to a whole page are displayed at the top of the products page. Because of this it is necessary to have a statement on a product that the discount that applied to everything didn't actually apply in the case of this item. But on the product detail page only discounts that apply to this item are going to be displayed so there is no need for the "retraction". If you really need to have this information in the product detail, would it be possible to add it to the Long Description?

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Electric Matthew
New Member

53 Posts

Pre-sales questions only
(More Details...)

Posted - 11/05/2019 :  17:46:58  
Yes Vince,
This is what I ended up doing.
(In case someone else encounters the same issue)

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