Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Bootstrap Modal Cart with Upsell Product


tgely

Recommended Posts

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 by aurelou
Link to comment
Share on other sites

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?

 
 
 

post-285481-0-89116100-1483556689_thumb.jpg

Edited by AlexandrZuyev
Link to comment
Share on other sites

  • 3 weeks later...

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

Link to comment
Share on other sites

@@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

Link to comment
Share on other sites

@@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

Link to comment
Share on other sites

  • 3 months later...

@@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 by milerwan

Osc v2.3.4 BS "custom"
PHP 7.3 compatible (710 modified files => o_O')

Link to comment
Share on other sites

  • 1 month later...

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!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...