News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

modify facebox popup layout and content

Started by BeNdErR, February 10, 2013, 16:48:24 PM

Previous topic - Next topic

BeNdErR

Hi everyone,

I would like to edit the facebox popup layout and content.. I successfully changed the style/html for both the "Continue Shopping" and "View Cart" buttons, but I can't find a way to change the other things in the popup, such the message displayed to notify which item was added to the cart.

I had a look on these files:

-components/com_virtuemart/controllers/cart.php > function addJs()
-components/com_virtuemart/assets/js/facebox.js > function loading() > reveal()

I'd like to wrap those messages inside a div, and give 'em a style through css, but I can't find where I've to edit the code, expecially where those messages are generated (in facebox.js I think the entire popup content is already set inside the variable data)

can someone give me a hint?

I'm using joomla 2.5.8 and virtuemart 2.0.18a

Thanks in advance, best regards ;)