♥JcMagpie Posted July 15, 2019 Share Posted July 15, 2019 JcM Footer Modal Cart V1.1 Update to an old add-on, all credit to original author: Gergely V1.0 18/07/2015 A simple add-on that allows you to display what's in the cart as the customer adds it. It is a Modal with cart. Customer can either checkout, continue without leaving his page or he can edit cart. This is a bootstrap Modal with no Ajax used. It’s a simple no core change add-on so just copy files over go to admin and install and setup. Script is loaded using site wide hooks so will not work with any version that’s not using these. Adjustments background opacity and color can be made in admin. That’s it enjoy. Has been tested on Phoenix V1.0.0.3 only. Can be seen working on my custom test site Can be see working in this video NOTE: This is NOT the official test site With Opacity set to 0 With Opacity set to 0.75 and color pink valquiria23 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted July 30, 2019 Author Share Posted July 30, 2019 JcM Footer Modal Cart V1.2 Updated to V1.2 to fix sitewide hook and add image size control in admin. Turn off and uninstall and deleat old files. Copy over new files and install. valquiria23 1 Quote Link to comment Share on other sites More sharing options...
MsWealth Posted August 9, 2019 Share Posted August 9, 2019 (edited) Hi, Thanks for this add-on, but it is not working for me. Could you elaborate on the steps " copy files over go to admin and install and setup. ". Edited August 9, 2019 by MsWealth error Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 10, 2019 Author Share Posted August 10, 2019 17 hours ago, MsWealth said: Could you elaborate on the steps " copy files over go to admin and install and setup. ". It’s a simple no core change add-on so just copy files over go to admin and install and setup. Script is loaded using site wide hooks so will not work with any version that’s not using these. Quote Link to comment Share on other sites More sharing options...
MsWealth Posted August 10, 2019 Share Posted August 10, 2019 2 hours ago, JcMagpie said: It’s a simple no core change add-on so just copy files over go to admin and install and setup. Script is loaded using site wide hooks so will not work with any version that’s not using these. Hi, I managed to get it working. I just needed to take a break. Solution: Download- upload files to correct place, go to admin, search and install module, edit settings, make sure Display Cart After Adding Product = false JcMagpie 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 10, 2019 Author Share Posted August 10, 2019 glad you got it sorted. Quote Link to comment Share on other sites More sharing options...
freakystreak Posted August 21, 2019 Share Posted August 21, 2019 would this work on Frozen or is it able to be adapted? Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
stefan1959 Posted August 21, 2019 Share Posted August 21, 2019 I just had a look at the demo site, it seem to be loading slow, mainly the images. Steve Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 21, 2019 Author Share Posted August 21, 2019 6 hours ago, freakystreak said: would this work on Frozen or is it able to be adapted? Yes I dont see why not, if it's frozen with BS4 then soud just work, if it's Frozen BS3 then will need some small tweeks. freakystreak 1 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 21, 2019 Author Share Posted August 21, 2019 46 minutes ago, stefan1959 said: I just had a look at the demo site, it seem to be loading slow, mainly the images. Don't have a demo site, the test sites can at times be slow depending on if I'm testing a new add-on or as in many cases brake the site during testing a new add-on. Looks ok at the moment. valquiria23 1 Quote Link to comment Share on other sites More sharing options...
stefan1959 Posted August 21, 2019 Share Posted August 21, 2019 (edited) 48 minutes ago, JcMagpie said: Don't have a demo site, the test sites can at times be slow depending on if I'm testing a new add-on or as in many cases brake the site during testing a new add-on. Looks ok at the moment. I meant. Just images where slow to load. Loads fine once they cached. Edited August 21, 2019 by ArtcoInc delete link Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 21, 2019 Author Share Posted August 21, 2019 Sure I use big images and have no optimzation on the test sites. stefan1959 and valquiria23 2 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 21, 2019 Author Share Posted August 21, 2019 (edited) 7 hours ago, freakystreak said: or is it able to be adapted? did a quick check and it work on Frozen BS3 you can see it on this site It's will need few tweeks. The main one is to replace the site wide hook by adding the scripts in it into the template file. Then it's just css fixes to get display as you need it. Edited August 21, 2019 by JcMagpie valquiria23 and freakystreak 2 Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 21, 2019 Author Share Posted August 21, 2019 12 minutes ago, stefan1959 said: I meant. Just images where slow to load. Loads fine once they cached. Would remove the link as it's not liked on the forum. stefan1959 1 Quote Link to comment Share on other sites More sharing options...
stefan1959 Posted August 21, 2019 Share Posted August 21, 2019 21 minutes ago, JcMagpie said: Would remove the link as it's not liked on the forum. I can't edit, its gone past the edit time, maybe a admin can remove. Quote Link to comment Share on other sites More sharing options...
freakystreak Posted August 22, 2019 Share Posted August 22, 2019 10 hours ago, JcMagpie said: did a quick check and it work on Frozen BS3 you can see it on this site It's will need few tweeks. The main one is to replace the site wide hook by adding the scripts in it into the template file. Then it's just css fixes to get display as you need it. @JcMagpie, brilliant!! I will definately add this. Thanks for taking the time to check things Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 22, 2019 Author Share Posted August 22, 2019 Anyone else wanting to use this on Frozen, just download and install as normal but just don't use the site wide hook and use this template file insted of the one in the download for includes/modules/content/footer/templates/ tpl_cm_footer_modal_cart.php valquiria23 and freakystreak 1 1 Quote Link to comment Share on other sites More sharing options...
freakystreak Posted August 22, 2019 Share Posted August 22, 2019 Hmmm... @JcMagpie done as you instructed but I don't get any model cart pop-up. I just get the default cart as normal. I have even tried it on a default install of Frozen in case there was a conflict.. Maybe it's me. Will try re-installing it. Just to clarify copy the files minus the 'Hooks' section then use the supplied template file? Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 22, 2019 Author Share Posted August 22, 2019 (edited) 4 minutes ago, freakystreak said: I don't get any model cart pop-up. I just get the default cart as normal You have to set the default cart to false first. Edited August 22, 2019 by JcMagpie Quote Link to comment Share on other sites More sharing options...
freakystreak Posted August 22, 2019 Share Posted August 22, 2019 Aha, I was just going to try that... LOL. Cheers pal Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
freakystreak Posted August 22, 2019 Share Posted August 22, 2019 Nope, must be something conflicting. It's working on my default frozen site but not on my main site. This site is quite heavily modded too so I guess I will be busy searching through it. Great add-on.Thanks for your help. Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
freakystreak Posted August 22, 2019 Share Posted August 22, 2019 Got it working... was a conflict with another add-on. JcMagpie 1 Quote Ah, the world wide web. What a wonderful place. Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2019 Share Posted August 22, 2019 @JcMagpie - I installed this today - looks great! Just one issue.... Is there any way to stop the item-has-been-added-to-your-cart message from appearing? It's normally something I would only see on shopping_cart.php. Using the modal results in this message popping anywhere there's a Buy Now or Add To Cart button. The below is after using Buy Now browsing a category. Any way to get rid of it? - Andrea Quote Link to comment Share on other sites More sharing options...
♥JcMagpie Posted August 22, 2019 Author Share Posted August 22, 2019 That's part of osC not my add-on, not sure if you can turn that off as it's hardcoded into the code. Others may know of a better way but it can be done by just adding a bit of css to the product-info.php file. This way other alerts in the site will still show. <style> .alert { display:none; } </style> Quote Link to comment Share on other sites More sharing options...
Guest Posted August 22, 2019 Share Posted August 22, 2019 @JcMagpie - Thanks! That works when adding to the cart while viewing the actual product. Additionally, I had to put that code snippet in index.php and product_listing.php...and that kills the message there, as well. Not sure if there's more places to check, still looking around. Now I'm trying to figure out why the colors are changing on my Buy Now buttons after adding to the cart from a category. You have this in the template file: #btn3 { Background-color:blue!important; color:#fff; } #btn3:hover { Background-color:lightblue!important; color:red; } #btn4 { Background-color:green!important; color:#fff; } #btn4:hover { Background-color:lightgreen!important; color:red; } It's supposed to be applying those colors to the buttons in the Modal, but instead...it's applying them to my Buy Now buttons after adding something to the cart when viewing a category. The modal buttons are white. They only get those assigned colors when adding to the cart directly from the product_info page itself. - Andrea hungryfrank 1 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.