News:

Looking for documentation? Take a look on our wiki

Main Menu

Ajax update of cart

Started by pm4698, October 05, 2016, 23:00:02 PM

Previous topic - Next topic

pm4698

Hello there,

I use joomla 3.6.2 with Virtuemart 3.0.18

Is there an easy way to change the pop up window function when you add to cart a product? I need the pop up not to pop up and with ajax to reload the module cart. Is this easy?

Where is the file i should take a look in order to do this?

Thank you in advance

GJC Web Design

I have used this

components/com_virtuemart/assets/js/vmprices.js ~ line 97
no popup
if(usefancy){
      //remove for reload
         /*jQuery.fancybox({
               "titlePosition" :    "inside",
               "transitionIn"   :   "fade",
               "transitionOut"   :   "fade",
               "changeFade"    :   "fast",
               "type"         :   "html",
               "autoCenter"    :   true,
               "closeBtn"      :   false,
               "closeClick"    :   false,
               "content"       :   txt
            }
            
         );*/
            //add for reload
         //location.reload();
      } else {
         jQuery.facebox( txt , 'my-groovy-style');
      }
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation