bonbec Posted January 3, 2017 Share Posted January 3, 2017 Thanks @raiwa for the tips, it work perfect :thumbsup: And thanks @Gergely for this modal cart :thumbsup: Quote with OsC 2.2 since 2006 ... Link to comment Share on other sites More sharing options...
aurelou Posted January 3, 2017 Share Posted January 3, 2017 Super @@bonbec thank you, merci :) :) Quote Link to comment Share on other sites More sharing options...
aurelou Posted January 3, 2017 Share Posted January 3, 2017 (edited) One last thing, when we add an article from the product info page all is good, but when we add an article from the "buy now" button of the product listing, the page refreshes first to show the little green text "X has been added to your cart" on top of the page, and only after that the pop-up appears. Is there a way to avoid the refreshing of the page ? Edited January 3, 2017 by aurelou Quote Link to comment Share on other sites More sharing options...
AlexandrZuyev Posted January 4, 2017 Share Posted January 4, 2017 (edited) Thanks a lot - working nicely! ps I made a small addon: it checks customer's IP+Country (curl_setopt($ch, CURLOPT_URL, "http://www.geoplugin.net/json.gp?ip=".$ip) ;)at checkout_process.php and send data with the order to Admin's email. Maybe someone will like also to use it. Where can I post the code? Edited January 4, 2017 by AlexandrZuyev Quote Link to comment Share on other sites More sharing options...
♥raiwa Posted January 4, 2017 Share Posted January 4, 2017 @@AlexandrZuyev, you may find some valuable information here: http://www.oscommerce.com/forums/topic/30047-how-to-make-contributions/ Quote About Me: http://www.oscommerce.com/forums/user/249059-raiwa/ Need help? How To Get The Help You Need Is your version of osC up to date? You'll find the latest osC community version CE Phoenix here. Public Phoenix Change Log Cheat Set on Google Sheets Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2017 Share Posted January 21, 2017 Hi I have just installed this great addon, all works well and looks good. However I notice that when the modal drop cart appears after a purchase, it seems to "drag" the footer above everything else and position the footer about 40px below the bottom of the drop down.To get to the footer, the page has to be refreshed. Is this normal behavior . I am using BS234 Look forward to any comments Many thanks Grandpa Quote Link to comment Share on other sites More sharing options...
aurelou Posted January 21, 2017 Share Posted January 21, 2017 Hi @@grandpaj In my site the page refreshes to show the green text on top of the page that says "the product has been added to your cart". Then the modal cart appears. It's also a problem because it takes time. I don't know if it's the same behavior as your's. Quote Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2017 Share Posted January 21, 2017 @@aurelou Hi Thanks for your reply. The same happens to me, there is a slight delay. Does the modal when showing and on scrolling down the page, drag the footer up to around 40px under the modal (only footer) I think the only other footer addon is Mailchimp so I'll uninstall that an see what happens. Do you have this problem Cheers Grandpa Quote Link to comment Share on other sites More sharing options...
Guest Posted January 21, 2017 Share Posted January 21, 2017 @@aurelou Hi Problem solved (I think) added an extra </div> to modal_cart.php (template.) There seemed to be 6 opening and 5 closing div's. Seems to haves solved. Don't know whether this is correct or not. Cheers Grandpa Quote Link to comment Share on other sites More sharing options...
milerwan Posted May 8, 2017 Share Posted May 8, 2017 (edited) @@Gergely @@raiwa Today I discovered a vicious bug which crashes the scrolling of the pages via the mouse wheel. To cause the bug, during (or just before) the pop-up of the "modal-cart" appears, move the mouse wheel. Once out of the "modal-cart" pop-up page, the scrolling feature with the mouse wheel is crashed and you have to close the window of the browser then re-open a new window to retrive the scrolling feature of the wheel. Let me know if you find the same bug with your test sites. Regards. Edited May 8, 2017 by milerwan Quote Osc v2.3.4 BS "custom" PHP 7.3 compatible (710 modified files => o_O') Link to comment Share on other sites More sharing options...
mihelicjm Posted June 20, 2017 Share Posted June 20, 2017 Dans certains cas ces deux formules ne fonctionnent pas: Quote if (tep_session_is_registered('new_products_id_in_cart') && DISPLAY_CART == 'false') { ou Quote if (tep_session_is_registered('new_products_id_in_cart') && (int)$_SESSION['new_products_id_in_cart'] > 0 && DISPLAY_CART == 'false') { ... si vous êtes dans ce cas celle-ci devrait fonctionner... Quote if($new_products_id_in_cart && DISPLAY_CART == 'false') { Bon code! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.