| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
altered carts OnSale mod for php 7+ | ||||
|
|
Thread Tools |
#21
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
So what you are saying is that those notices are not the cause of why the mod isn't working. I don't care about the notices being there but I thought those might have been the problem since they are the only "errors" showing up in my logs.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#22
|
|||||||||
|
|||||||||
Re: altered carts OnSale mod for php 7+
I'm saying the notices will not prevent the cart or module from working yes. However these variables not having a value may be the reason for the module not to work properly or maybe it is working properly just not doing what you expect it to do.
Another reason is when and how the module is making changes and adding whatever it supposed to add to the cart. If the code base is different it is possible the module's files need change as well... Notice: Undefined index: no_globals_w_ind in /home/keyston1/public_html.dev/modules/alteredCart_On_Sale/onsale_sessions.php on line 39 no_globals_w_ind not being defined at all means this code will never run Code:
So you need to find where no_globals_w_ind get's set and when it is set to Y or something else and how this affects the rest of the module logic.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#23
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
Thanks for the clarification Steve. Just out of curiosity, did you go to school to learn coding or are you self taught?
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
#24
|
|||||||||
|
|||||||||
Re: altered carts OnSale mod for php 7+
Quote:
Self-taught
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#25
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
I have revisited X-Carts Special Offers built in mod because I saw that they actually DO have the ability to restrict a special offer to a specific membership group. I do have a question regarding that specific condition however. The Mod states
Quote:
Quote:
Anyone have this issue or does it work correctly for others? Is there a way to add "No Membership or Not Logged In" as an option to select? Thanks for any ideas... This is for x-cart version 4.7.11, just realized I didn't update my signature yet.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#26
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
After updating the membership option keep proceeding through the Special Bonus process until you can click on the Finish Button. After clicking the Finish Button go back in and see if it keeps your membership choice including none of them highlighted.
I first selected a membership clicked update and went through the process until I clicked Finish. I went back in and it held the membership choice. I then deselected that membership choice so that none were highlighted and clicked update and proceeded until I could click the Finish Button. When I went back into the Special Offer the Customer has a certain membership checkbox was checked and none of the memberships were highlighted. I don't use Special Offers so I did not do any further testing.
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best |
|||||||
#27
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
Hey elmirage, When I did what you suggested it kept the check in the box. I'll have to do some further testing but it seems like it does work, not sure exactly which step determines if the check stays in or comes out yet. Thanks for the help.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
#28
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
When a special offer is applied to a product, the "Special Offer" icon shows on the product image on the product pages, category pages, and in the shopping cart. When I restrict the Special Offer to only customers with NO membership, then I log in as a test wholesale member, the special offer icon is removed from the category and product page images BUT, if I add the product to the shopping cart, the ICON shows back up on the product image in the cart...
I think that the code was just missed to restrict the icon on the cart page as well as the category and product pages. Does anyone know where/how to add that? I can foresee a bunch of email/phone calls from my wholesale accounts asking about the special offer (that isn't valid for them). Thanks.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
#29
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
It's working correctly for me.
Sign in on account with no membership --> Cart shows special offers message and promotion price. Sign in on account with membership = Wholesale --> Cart does not show message and the price is correct, not discounted. Change wholesale account to Not Member --> Cart shows special offers message and promotion price.
__________________
X-Cart GoldPlus v4.7.12 | reBOOT (reDUX) Template v4.7.12.9 | Always The Best |
|||||||
#30
|
|||||||
|
|||||||
Re: altered carts OnSale mod for php 7+
Yeah, the pricing is correct when I switch back and forth between member and not member but the "Special Offer" badge/star on the image in the cart still shows up when I switch to membership = wholesale. Does yours go away? BTW I'm using the x-carts One Page Checkout.
__________________
www.uscandleco.com - X-Cart Version 4.7.11 Gold Plus php7.3 mods: reCaptcha running on UNIX www.keystonecandle.com X-Cart Gold Plus - Version 4.7.11 php7.2 mods: reCaptcha cdseo pro running on UNIX |
|||||||
|
|||
X-Cart forums © 2001-2020
|