VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: BeNdErR on February 10, 2013, 16:48:24 PM

Title: modify facebox popup layout and content
Post by: BeNdErR on February 10, 2013, 16:48:24 PM
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 ;)