VirtueMart Forum

VirtueMart 2 + 3 => Administration & Configuration => Topic started by: johndenver on July 31, 2020, 21:55:56 pm

Title: Can't find where this error is coming from
Post by: johndenver on July 31, 2020, 21:55:56 pm
This error appears in my module that has related products and at the bottom of my store for categories and individual items. I disabled all "Related Product" modules and that killed the error in the sidebar but the error still remains at the bottom of the store so I am guessing that "Related Products" might be enabled for the entire store but I can't find the setting in the Administrator section to disable it and see if doing that removes the error. Can anyone see where this might be coming from or where the "Related Products" might be in the store-wide setting? This is the error and this is also a screenshot of the error.

Code: [Select]
//////////////0){addToCartBtn.find('path').eq(0).css('stroke-dashoffset','19.79');animating=false}},600)})}});touchSettings.on('click',function(event){event.preventDefault();resetCustomization(addToCartBtn)})})}function resetCustomization(selectOptions){selectOptions.siblings('[data-type="select"]').removeClass('is-open').end().parents('.cd-single-item').addClass('hover').parent('li').siblings('li').find('.cd-single-item').removeClass('hover').end().find('[data-type="select"]').removeClass('is-open')}function deactivateCustomization(){productCustomization.parent('.cd-single-item').removeClass('hover').end().find('[data-type="select"]').removeClass('is-open')}function updateCart(){(!cart.find('.total_products').hasClass('items-added'))&&cart.find('.total_products').addClass('items-added').removeClass('empty_basket');var cartItems=cart.find('span'),text=parseInt(cartItems.text())+1;cartItems.text(text)}}); //]]>
Title: Re: Can't find where this error is coming from
Post by: pinochico on July 31, 2020, 22:02:39 pm
Im looking from window and I dont see any error.
What do you think, maybe I must looking on your website?
But your URL is totally hidden and I can't find them :D

sarkasmus for every, which don't send basic info and want help...
Title: Re: Can't find where this error is coming from
Post by: johndenver on July 31, 2020, 22:51:33 pm
This is the store just scroll all the way to the bottom.
Code: [Select]
https://okinawa.denverdonate.com/shop/printsI notice that if I change these setting in (attached) Virtuemart administration some of those errors on the bottom change so maybe this isn't just "Related Products" error. 

Title: Re: Can't find where this error is coming from
Post by: GJC Web Design on July 31, 2020, 23:22:39 pm
This isn't an "error"

This is wrongly formatted JS being printed out as html

Try turning off any compression/minification/combination
Title: Re: Can't find where this error is coming from
Post by: jjk on July 31, 2020, 23:38:35 pm
Appears to be related to the template. If you search for the first part of the error text in Google, it finds a lot of websites using the same template and with the same error.
Title: Re: Can't find where this error is coming from
Post by: johndenver on August 01, 2020, 08:13:56 am
Awesome, that fixed it. I turned off the HTML compression option in the template and now the error is gone.