Jump to content

 

Scott_C

Member Since 23 Jun 2011
Offline Last Active Sep 13 2019 11:57 AM
-----

Posts I've Made

In Topic: Deleting/archiving Old Orders Without Affecting Stock

21 December 2018 - 02:09 PM

Thank you, I had to upload the fn.cart.php file with your line commented out, and then do a graceful restart of Litespeed.

 

I'd advise anyone trying this to edit the fn.cart.php file and then delete one order first. Choose an order with minimal products and note the qtys you currently have. Its handy to have a product with the current qty (that matches a product in your order) in another browser tab.

 

Then delete the single order, refresh your product page and make sure none of the qtys increased by 1. If thats the case, you can then go through and delete multiple orders at a time.


In Topic: Deleting/archiving Old Orders Without Affecting Stock

09 December 2018 - 03:34 AM

Hi, I tried this yesterday, and it worked just fine on my test store, but on live, it was still deducting inventory and notifying customers that products were back in stock.

 

I suspect its a caching issue, in the case of a 'backend' php file such as fn_cart.php does it help to clear out the var/cache directory?

 

Thanks, Scott.

 

 

In the fn_delete_order function (app/functions/fn.cart.php) replace the following line of code

fn_change_order_status($order_id, STATUS_INCOMPLETED_ORDER, '', fn_get_notification_rules(array(), false)); // incomplete to increase inventory
with
//fn_change_order_status($order_id, STATUS_INCOMPLETED_ORDER, '', fn_get_notification_rules(array(), false)); // incomplete to increase inventory
P.S. Make database backup just in case

 


In Topic: Simtech Development: Loyalty Program For Our Customers

19 September 2018 - 08:15 AM

To give another example, Simtech offer a loyalty program in that the more Add-Ons you purchase, the cheaper they get. I myself have purchased many.

 

But I am sure you would not want that offer to be available to a reseller (if for example a reseller sold your Add-ons). A reseller would already be receiving a deep discount. Your loyalty program is for your regular retail customers.


In Topic: Simtech Development: Loyalty Program For Our Customers

19 September 2018 - 08:12 AM

Hi Oleg, yes I am saying that all CS Cart users should have the ability to exclude usergroups from the Loyalty Program as they choose. 

 

I can't be the only one that doesn't want the risk of any usergroup at all being opted into the Loyalty Program based simply on purchase total.

 

Most CS Cart users would have a wholesale usergroup, professional discount, friend discount and so on. They simply do not want those customers to ever be a part of a loyalty program which is generally speaking a retail initiative.

 

Thanks, Scott.


In Topic: Simtech Development: Loyalty Program For Our Customers

18 September 2018 - 06:54 AM

Hi Oleg, thank you for the fast reply, I can see this will work for the promotions, but because each loyalty usergroup is based on how many $ they have spent (order total) my wholesale customers will be moved into a 'gold' or other loyalty group automatically won't they?

 

They will also be granted reward points as I have set each tier of my loyalty program to offer reward points.

 

Thank you, Scott.