VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: Hungphieu on January 15, 2016, 09:45:23 AM

Title: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: Hungphieu on January 15, 2016, 09:45:23 AM
My website: chomeo.vn (Joomla 3.4. 8)
After updated VM 3.0.12:
- Add to cart doesn't work
- Checkout doesn't work
- Not automatic creat thumbnail url & not creat thumbnail on folder "resized" when upload a image (edit/new product)

Please help me to solve this troubles! Sorry about my english!
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: GJC Web Design on January 15, 2016, 10:07:45 AM
Without a live url no one can help you..

make sure if it is a non English site u provide urls to an orderable product

But you can assume it is your template that is incompatible

upgraded from what?
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: jenkinhill on January 15, 2016, 12:28:05 PM
Your site chomeo.vn is using so much JavaScript that it is not easy to see the problem. I added a product to cart OK, I did not try to check out as I dcant read the hieroglyphics. The only js error I saw prevented the product images from opening in a lightbox:
TypeError: b.fancybox.init is not a function
...nError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery)

I would never use a template with all that extra code junk.

Thumbnail urls are no longer used and the thumbs are made when a page is viewed on the fly by the dynamic resize option.  http://forum.virtuemart.net/index.php?topic=132128.msg456671#msg456671
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: Hungphieu on January 15, 2016, 13:28:20 PM
- When i checked: Use Fancybox (Recommended)
(http://www.upsieutoc.com/images/2016/01/15/154d63.png)

   --> so "Add to cart" is ok, but popup was resized:
(http://www.upsieutoc.com/images/2016/01/15/46322d.png)


Normal:
(http://www.upsieutoc.com/images/2016/01/15/5.png)



   --> thumbnail on site (show product) is wrong.
(http://www.upsieutoc.com/images/2016/01/15/6fe55b.png)


Normal:
(http://www.upsieutoc.com/images/2016/01/15/66.png)




- Uncheck: Use Fancybox (Recommended)

    ---> "Add to cart" doesn't work.
    ---> Thumbnail on site (show product) is ok
    ---> Thumbnail on Administrator doesn't creat
(http://www.upsieutoc.com/images/2016/01/15/74b5eb.png)
(http://www.upsieutoc.com/images/2016/01/15/84070a.png)


Normal:
(http://www.upsieutoc.com/images/2016/01/15/77.png)   
(http://www.upsieutoc.com/images/2016/01/15/88.png)
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: GJC Web Design on January 15, 2016, 13:57:01 PM
Oh God, another T3 Reviver template...  if you check this forum you will find there is only problems discussed about this template

121 requests
         
2,2 MB
   
18,95s (onload: 19,26s)

who would persevere with trying to shop on this site?

I have weaned many a client off it and substituted with a clean fast sensibly coded template with proper support .. e.g.  https://www.virtuemarttemplates.eu/

Their life is transformed, their sites make money, they smile again....
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: jenkinhill on January 15, 2016, 16:07:53 PM
All of those issues except one are template related, as its overrides need updating for VM3.0.12 - there was a note to templaters in the press release, http://virtuemart.net/news/latest-news/473-security-release-virtuemart-3-0-12   If you can't fix the overrides yourself then ask the template developer for updated files.

The multiple thumbnail changes are documented here:  http://docs.virtuemart.net/tutorials/templating-layouts/222-different-thumbnail-sizes.html

I agree with GJC, do yourself a great favour and use a better coded and faster template. I would suggest a template from https://www.virtuemarttemplates.eu or from https://www.virtueplanet.com/joomla-templates   These developers work with the VM team to ensure compatibility and both provide excellent support.
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: Hungphieu on January 15, 2016, 17:25:31 PM
Quote from: jenkinhill on January 15, 2016, 12:28:05 PM
Your site chomeo.vn is using so much JavaScript that it is not easy to see the problem. I added a product to cart OK, I did not try to check out as I dcant read the hieroglyphics. The only js error I saw prevented the product images from opening in a lightbox:
TypeError: b.fancybox.init is not a function
...nError:function(){}};b(document).ready(function(){b.fancybox.init()})})(jQuery)

I would never use a template with all that extra code junk.

Thumbnail urls are no longer used and the thumbs are made when a page is viewed on the fly by the dynamic resize option.  http://forum.virtuemart.net/index.php?topic=132128.msg456671#msg456671

Thank GJC and jenkinhhill for your comments.
I want to ask more. That js error, how do I have to edit ?
If I uncheck Use Fancybox (Recommended), so the system will use the facebox ??? If that, I will not use facebox, because it will make the system be error.
I want to use facebox replace to fancybox, so how?
Title: Re: Add to cart, Checkout, not automatic thumbnail after updated VM3.0.12
Post by: GJC Web Design on January 15, 2016, 22:00:11 PM
Your template which I have plenty of experience with is a chaotic mess..

It uses totally outdated VM2 code doctored on each VM3 release to try and keep it working

It has a 700 line  category template with other incl. template files and plugins etc .. it uses no sublayouts at all...

If u really want to start adapting this the only way ids to look at the std. templates and try..