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
 Includes tweaks not working
Author « Topic »  

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  03:43:48  
Happy New Year to all!


I've just added a product option to our new site and it showing the price different in the drop down and I dont want it to.

$hideoptpricediffs=FALSE;

I've added this to includes and it's not taking any notice?


Also the prod id's are showing and again I dont want them too.

$showproductid=FALSE;

I've added this to includes and it's ignoring that too??

Has php 7.0.7 got another tweak some where that I don't know about???


Trace

Edited by - Trabe on 01/03/2020 03:44:06

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  04:10:02  
I just found the layout options in the includes

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

and removed the productid and sku and that didnt make any difference either???

Trace

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  04:20:32  
I changed it to $hideoptpricediffs=true;

and it now works but I cannot get rid of the product id :(

Trace

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  04:28:38  
Also it showing the available in stock in the drop down and I have told it not to show the stock amounts grrrrr

Trace

Vince
Administrator

42874 Posts

Posted - 01/03/2020 :  04:58:08  
Hi Trace
Just remove the stock and product id parameters...
$detailpagelayout='navigation,productimage,productname,discounts,price,listprice,currency,instock,reviewstarslarge,shortdescription,options,quantity,addtocart,productid,manufacturer,sku,dateadded,description,previousnext,searchwords,socialmedia,reviews';

Vince

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

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  08:08:51  
Thanks Vince, but no it doesn't work..

$detailpagelayout='navigation,productimage,productname,discounts,price,listprice,currency,reviewstarslarge,shortdescription,options,quantity,addtocart,manufacturer,sku,dateadded,description,previousnext,searchwords,socialmedia,reviews';

You can see here https://zest-it.shop/proddetail.php?prod=QuimpMultiBoard
The prod id and the stock of 2 shows in the drop down?

Trace

Vince
Administrator

42874 Posts

Posted - 01/03/2020 :  08:18:27  
Hi Trace
Can you have a look in the proddetail.php page to see if that $detailpagelayout parameter is in there. If that doesn't help can you send me the site FTP login to my email (vince AT ecommercetemplates DOT com) and I'll see what's up.

Vince

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

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/03/2020 :  13:09:00  
Hi Vince,

Yes thank you, there is one on the proddetail page - I guess that was overwriting the includes. Thank you that has got rid of the Prod id showing.

Can you tell me how to get rid of the stock qty showing in the prod option drop down please?

Thank you in advance

Trace

Vince
Administrator

42874 Posts

Posted - 01/03/2020 :  15:15:34  
Hi Trace
I think the parameter you need is...
$noshowoptionsinstock=TRUE;

Vince

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

Trabe
Advanced Member

United Kingdom
326 Posts

Posted - 01/04/2020 :  07:09:19  
Awesome Vince, Thank you so much

Trace
  « 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