jack208
VP-CART New User
Malaysia
116 Posts |
Posted - December 04 2017 : 01:20:52
|
Hi, we are now using the Buy-X-Free-Y feature in VPCart8 (as CartSpecialHandling) and it''s working as intended.
we''ve end-users and retailers in our sys as Customers - they are differentiated via Customer Groups so will see their own pricing when they are logged in.
For this Buy-X-Free-Y promo, we exclude the Retailers. I''ve added some custom codes in the ShopCartSpecialHandling.asp to do checks against the customer type and skip the promo if not end-user.
However there''s a gray area when a user first gets to our webstore and he''s not logged in yet (our store does not use Forced Login) but has picked one of the promo item and entered a qty of 5. Since it''s in Guest mode, we are not able to distinguish between end-users and retailers and have set the webstore now not to assign the promo.
Until the user logs in, then based on whether end-user/retailer, the promo item will be added to his cart. This is all fine except for one situation where the user does not log in but immediately proceed to Check-out.
In the Check-out process, he''ll still be forced to login, update his shippin info, payment then check-out. However we noticed in this process flow, there''s no recalculation of the Shopping Cart which means the free promo item won''t be applied to this order even if the user is a end-user.
What we would like to do is forcing a log-in and refresh of the cart even if user clicks on "Proceed to Check-out". Just wondering if anyone has done something similar or knows which code file(s) to access.
TQ
|
|