News:

Looking for documentation? Take a look on our wiki

Main Menu

I do not see the total amount of the purchase in the cart

Started by fanny0, August 21, 2018, 00:12:43 AM

Previous topic - Next topic

fanny0

Hi,

I do not see the total amount of the purchase in the cart

http://www.rosasonline.cl/cart.html

rosasonline.cl

thanks!


jenkinhill

Console sjhows JavaScript error:
TypeError: document.getElementById(...) is null
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

GJC Web Design

its your template

error on

   var counter = jQuery('<i id="gkCartCounter"></i>');
                       counter.appendTo(btn);
                       var gkCartDataRequest = function() {
                           jQuery.ajax({
                               url: $GK_URL + 'index.php?tmpl=json&lang=' + jQuery('html').attr('lang').split('-')[0],
                               cache: false,
                               dataType: 'text',
                               success: function(data) {
                                   document.getElementById('gkCartCounter').innerHTML = '(' + data + ')';
                               }
                           });
                       }

###############

Uncaught TypeError: Cannot set property 'innerHTML' of null

Talk to gavick
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

fanny0

hi,

Gavick tell me that it is a virtuemart error, why or if not solved by changing the template by default, and that does not happen

please tell me what I have to do to fix it

thanks!

Jörgen

Then You have to turn on prices under configuration/prices

I can not tell You what to set, You have to try, it depends on how Your template works.

If You can not figure it out, tick boxes and see what happens.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

GJC Web Design

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

fanny0

Hi, my problem, I had to put the configuration in this other way and the price disappeared in the home, view of category

mine


My site desapear price $44.900


thanks!

Jörgen

Then it boils down to a theme issue. One of the settings you changed to unticked must be ticked to make this work. You had the category view working. Correct setting makes it work again. Compare with your old settings and change the right one back.
Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

fanny0

hi,

it's not like that, I used to have only marked "total final salesprice"

and it appeared to me, now it does not

thanks!

Jörgen

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.