Post by Seedler » Sat Oct 22, 2011 2:56 am

Hi,

How can I add a message box that will popup when someone tries to add an item to the cart? It needs to have a short message with the option to continue or cancel.

Does anyone know how? And I only need it to work with specific products.

Hope someone can help.

Cheers,

Dee.

New member

Posts

Joined
Sun May 15, 2011 9:51 pm

Post by Jeremy Fisk » Sat Oct 22, 2011 12:55 pm

Yeah... i can see how... but you will have to do a bit of recoding... but i can't really see how to make it only work with some products without a lot of thinking...

Hang on... actually... it might not be as hard as i was originally thinking... you might be able to have an extra field in the product page in admin in which you put in a message... this message is saved to the database...

and when you view a product page it checks the database and looks for the new table (i.e. product_message) and then if it is empty it just show like normal... otherwise it makes the button run a pop up which then has an add to cart...

I would have to think for a while about the atcual coding though...

good luck

jem

If i have helped... please click here to donate

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by Seedler » Sat Oct 22, 2011 5:11 pm

Jem,

Thats sounds class. I would appreciate it if you could help me with this.

Thanks,

Dee

New member

Posts

Joined
Sun May 15, 2011 9:51 pm

Post by halena » Wed May 09, 2012 6:20 pm

Hi.

Thank you for opening this topic.
Have you manage to add that message box ?

I also would like to add this message box that will popup every time we click 'add to cart ' button to ALL products.
or similar to this topic http://forum.opencart.com/viewtopic.php?t=43156 but it will pop up regardless when customer was logged in or NOT. I am currently using latest Version 1.5.2.1.

Hope someone can assist.

Thanks in advance.

Rgds,

Newbie

Posts

Joined
Mon Jan 04, 2010 2:37 am

Post by Jeremy Fisk » Thu May 10, 2012 2:20 am

Please I have created a book sotre mo which adds about 11 fields to the product page and they will only display if they have data in them... but i am just thinking about how to change to a pop up... please provide me with a screen shot of what you want and i'll se if i can do it

If i have helped... please click here to donate

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)

Post by Jeremy Fisk » Thu May 10, 2012 2:25 am

If you want it with a simple message (just like http://forum.opencart.com/viewtopic.php?t=43156) it shouldn't be to hard... infact i no exactly how i could do it... it would have to be a paid service though... as the mod that i have created is soon going to be sold (a bookstore mod) and it is the basic part of that...

Cheers
J

If i have helped... please click here to donate

Bookstore Mod
QuickShop Module
Restricted Access - Compulsory Login
Template Override - Category Specific (vQmod)
Template Override - Brand Specific (vQmod)
How did you find out about us register question mod
Compulsory Login vQmod
Brands In Top Menu
zoom - Product Image - Auto on hover


User avatar
Active Member

Posts

Joined
Thu Nov 11, 2010 6:11 pm
Location - New Zealand (Tokomaru, Palmerston North)
Who is online

Users browsing this forum: No registered users and 51 guests