You need to change some code in 2 files for that, the common.js file & product.tpl file.
Open & edit the catalog>>view>>>javascript>>common.js file & find...
if (json['success']) {
$('#notification').html('<div class="attention" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
$('.attention').fadeIn('slow');
& change the 2 attention to success & there are 3 places to change this in the common.js file.
Then open catalog>>view>>>theme>>default>>template>>product>>product.tpl file & find...
if (json['success']) {
$('#notification').html('<div class="attention" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/default/image/close.png" alt="" class="close" /></div>');
$('.attention').fadeIn('slow');
& again, replace the 2 attention with success & thats it
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
That is because it has options which is part of the product. You are taken to the product page to make your choices then add the item to cart lolvictor.gatto wrote:Go to monitors on the demo site. The first samsung product works, but when you click the second apple product, it goes to the item wtf? im having THAT problem.
nothing to do with what I have done
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
To have the box at the top fade back out, you would have to change the ajax in the common.js & the product.tpl.xellbuy wrote:THANKS AGAIN!!!
My only question is how to make it fade out after a few seconds without the user having to press the "x" in the right hand corner of the message.
Thanks.
You would need to change...
Code: Select all
$('.attention').fadeIn('slow');
Code: Select all
$('.attention').fadeIn(1000).delay(2000).fadeOut(1500);
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Just look further up this post as its the same 2 files you had to change the last timexellbuy wrote:Where is common.js and product.tpl in the directory?
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
I have just had a look & tried it out & it scrolls to top to show the box then the box fades back out.xellbuy wrote:I changed it but I dont see it working? Help!
It doesn't disappear after a few seconds how come?
Thanks in advance for your help.
To have it fade out rather than a customer click it, the only part that needs to be changed from the original in both the common.js & product.tpl files is the following....
Find....
Code: Select all
$('.attention').fadeIn('slow');
Code: Select all
$('.attention').fadeIn(2000).delay(3000).fadeOut(1000);
I have just made this simple change & tested it on the demo site & it worked fine (demo is back to my way now).
Edit both of the original files (before i had changed anything) & then make the change as above, then upload & it will work!
Like I have highlighted, you need to edit the original files, make the small change & then upload them.
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Celestial - Martín Abel Rosales
WhatsApp: 50671482211
Email: martinrosales2012@hotmail.com
Skype: martin.abel.rosales
San José , Costa Rica
Hi Celestial,celestial wrote:Harry the mod stuck in shopping cart and you select Estimate Shipping & Taxes, if you select any is OK but the message stay.
I have just tried this & yes, you are right
I have just rectified this issue & will zip & upload the files again in the next 5 minutes for any future downloads.
To manually make the change, all you need to do is open & edit the following file>>> catalog/view/theme/default/template/checkout.tpl
Then find.....
Code: Select all
<div class="success">
Code: Select all
<div class="rev-success">
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
A 3 picture slideshow demo can be seen here.....
http://demo.next2nowt.com/slideshow/aja ... rt-V2.html
Due to the time I have spent on doing this, it will not be free but it will only be the minimum allowed charge of $10 (it would be less but the minmum is $10) to download it
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Hi earink,earink wrote:SEARCH NOT FOUND (ABORTING MOD): $('#notification').html('<div class="success" style="display: none;">' + json['success'] + '<img src="catalog/view/theme/layover/image/close.png" alt="" class="close" /></div>');
please advise?
What version of OC are you using & what is it you was doing when you got this error? because its a new one on me
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
I have had a look at your site & you are not using this mod?
Also it will only work on the default OC theme because it changes the stylesheet.css & common.js to other files & as you have chnged the default theme, it will not work
You can however get it to work but you would have to edit the stylesheet.css & common.js files & add or change the parts that I have added & changed.
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Could you help me change the extension and leave it running as the example below:
http://cms.template-help.com/virtuemart ... &Itemid=54
I wanted to:
1 - add button 'CONTINUE' or 'CART'
2 - make the time to close automatically, but add the close button in the top right.
Thanks for any help.
I have already created my new one which shows 'View Cart' 'Continue' & 'Checkout' buttons. It also shows other items in your cart & dims the background.billeweb wrote:Hello, congratulations on this extension, very useful!
Could you help me change the extension and leave it running as the example below:
http://cms.template-help.com/virtuemart ... &Itemid=54
I wanted to:
1 - add button 'CONTINUE' or 'CART'
2 - make the time to close automatically, but add the close button in the top right.
Thanks for any help.
I have it fully working on our webiste http://next2nowt.com using vQmod but I am going to create a new vQmod version so that it will work on other themes as well as the default theme.
Add To Cart Confirm Ajax Popup for OC 1.5.1.3 --> 1.5.5.1 - Add to Cart Confirmation Popup
Image Map Banner Module - Image Map Banner Module
----------------------------------------------------------------------
Womens Famous Name Fashion Clothing at bargain prices - Next2nowt.com
Users browsing this forum: No registered users and 65 guests