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
 activating wholesale brings down site
Author « Topic »  

Awesome
Starting Member

25 Posts

Posted - 12/17/2023 :  14:55:05  
Got an issue with the website when I add the following in the includes for version PHP v7.7.3 in chrome and edge:


$loyaltypointsnowholesale=TRUE;
$loyaltypointsnopercentdiscount=TRUE;


// Wholesale pricing
$wholesaleoptionpricediff=FALSE;
$nowholesalediscounts=TRUE;
$minwholesaleamount=300.00;
$minwholesalemessage="Wholesale orders need to be minimum for US$300. Thank you for your support.";



Starts off by saying issue with $loyaltypoints=100;

when you comment it out it says issue with $loyaltypointvalue=0.0001;

when you comment it out, it says issue with $wholesaleoptionpricediff=FALSE;

and on and on and on. have to implement a backup includes and then it works just fine but no wholesale options turned on.

What might be causing this issue?

Thank you in advance.


Edited by - Awesome on 12/17/2023 14:55:45

Vince
Administrator

42761 Posts

Posted - 12/18/2023 :  01:45:03  
Hi Awesome
It sounds like you are introducing a syntax error when making the changes. Can you copy and paste the lines you are adding with the context around them? That is, a few lines above and below?
quote:
Starts off by saying issue with....
The actual text of the message can often be helpful in identifying which line is going wrong.

Vince

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

Awesome
Starting Member

25 Posts

Posted - 12/18/2023 :  07:19:16  
Dang it! you were right. went back in to the code and noticed a few lines above, it said wholesale' after the ; on the $customeraccounturl="clientlogin.php"; line. took it out and now it works. Sometimes the obvious just stares at ya but you need a 2nd brain to tell you to look again for variation! :)
  « 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