VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: adventure1 on June 08, 2013, 12:04:31 PM

Title: Add to cart - modification pop-up window
Post by: adventure1 on June 08, 2013, 12:04:31 PM
Hi all
How, what and where I need modify for the pop-up window when the client who is not registered and he clicks "add to cart" (in the view of product categories and detail product description) had received information in the pop-up window: add product to cart can only to registered customers, and below this message on the left button with a link to register and on the right the second button close.
However, for customers who are registered and log on, after click "add to cart" pop-up window should look like the same as it is normally in the VM.
Please help me
Title: Re: Add to cart - modification pop-up window
Post by: jenkinhill on June 09, 2013, 18:57:34 PM
I have just seen this and read it about 10 times, but am still not sure what you are asking. Some of the files invloved in triggering and displaying the facebox added to cart popup are components/com_virtuemart/controllers/cart.php and the JavaScript and css files in components/com_virtuemart/assets/js/fancybox/

What you seem to be asking would probably involve VM core edits, which we do not support as they need remaking/changing with each VM upgrade, so you should look at making a plugin to do this. Personally I would not even start trying to do this...