VirtueMart Forum

VirtueMart 2 + 3 + 4 => Installation, Migration & Upgrade => Topic started by: JtouchMobile.com on December 21, 2012, 05:15:00 AM

Title: 2.0.14->16: Add to cart buttons OUT
Post by: JtouchMobile.com on December 21, 2012, 05:15:00 AM
Hi friends,

My Vm 2.0.14 was working well, on product details page, the "add to cart" buttons shown.
But after upgrade the site to VM 2.0.16, those buttons are out; now I can see just the "Ask a question" button

What am I doing wrong  :-\

Thanks in advance,
MMWS
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: xeomueller on December 21, 2012, 11:18:32 AM
hi mobileme.ws,

I also updated from x.14 to x.16 and it works.

So did you install both packages? Please also clean your cache
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Milbo on December 21, 2012, 16:28:16 PM
If the prices is <=0.0 and you have "ask for price" in the config activated, then you see this. Maybe it is a layout overwrite, please check and if there is one, tell here, so that I can add it to the "latest release notes"
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: JtouchMobile.com on December 22, 2012, 02:58:22 AM
@xeomueller: Yeah, installed both and also cleared cache

@Milbo: There has not layout override by the template. You can check it here:
http://demo.jtouchmobile.com/jtouch25/powertools/circular-saw-detail

Thanks for all of your supports  8)
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Milbo on December 22, 2012, 13:09:00 PM
How is your config setting? Store your vm config and check again.
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Nils on December 24, 2012, 10:34:48 AM
Hi all,

I also upgraded from 2.0.14 to 2.0.16 and got exactly the same situation as MobileMeWs.

However, I did a restore immediately, so I cannot confirm if the advices above helps or not.

Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: vinmax on December 25, 2012, 12:57:23 PM
Quote from: MobileMeWs on December 21, 2012, 05:15:00 AM
Hi friends,

My Vm 2.0.14 was working well, on product details page, the "add to cart" buttons shown.
But after upgrade the site to VM 2.0.16, those buttons are out; now I can see just the "Ask a question" button

What am I doing wrong  :-\

Thanks in advance,
MMWS


Hi mobilemews,

Have you also upgrade com_virtuemart_aio_2.016?

If no please ,make disable to all plugin and module of virtuemart . install com_virtuemart_aio 2.0.16.

After that enable virtuemart product plugin by joomla plugin manager.


Thanks

http://shoeg.in (http://shoeg.in), http://maxartkiller.in (http://maxartkiller.in)
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Jimmie on December 31, 2012, 16:42:40 PM
Same problem here!

Updated 2.0.14 to 2.0.16, also the aio, and cleaned cache

Add to cart button only gone on the page where I use special fields as a shopcart variant???

What is changed? https://www.gezondehuidwinkel.nl/kies-een-productgroep/ceez-skin-care-cadeaubonnen/ceez-skin-care-cadeaubon-detail.html

Anyone?
Regards, Jimmie
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Makis77 on January 01, 2013, 05:07:09 AM
Maybe this is related to the "multiple" price fields in backend that we r discussing here.
Quote from: Makis77 on December 28, 2012, 08:47:38 AM
Having the same problem as deepdeepsea.
After the update my products didnt have any prices, show I opened a product in backend and saw that "Product Pricing" fields have been quatraplicated, I deleted them so price was shown again in frontend but after a refresh prices was lost once more.
Re-opened product in backend and I saw that "Product Pricing" has been multiplied by 5....
Open one of your products and see if they have more than one "Product Pricing" records, delete everything but the one that has the price, save and refresh your page.
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Jimmie on January 01, 2013, 18:12:53 PM
ceez cadeaubon has only one productprice = € 0,00 It has two special fields, shopcart variants. One is the price the other is for text. In 2.014 it worked fine.

Indeed the productprice (€0,00) on ceez cadeaubon was duplicated about 6/8 times (I am not sure how often). I already deleted those. Only one left now. But this was not the solution. Still no order button?

All products with a generic child variant and all single products are updated oke!
Jimmie
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: malaclypse on January 04, 2013, 14:57:38 PM
Quote from: Makis77 on January 01, 2013, 05:07:09 AM
Maybe this is related to the "multiple" price fields in backend that we r discussing here.
Quote from: Makis77 on December 28, 2012, 08:47:38 AM
Having the same problem as deepdeepsea.
After the update my products didnt have any prices, show I opened a product in backend and saw that "Product Pricing" fields have been quatraplicated, I deleted them so price was shown again in frontend but after a refresh prices was lost once more.
Re-opened product in backend and I saw that "Product Pricing" has been multiplied by 5....
Open one of your products and see if they have more than one "Product Pricing" records, delete everything but the one that has the price, save and refresh your page.

Thank you very much!
I had the same problem and this worked for me.

VM 2.0.16
J2.5.8
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Milbo on January 04, 2013, 20:14:25 PM
Quote from: Jimmie on January 01, 2013, 18:12:53 PM
ceez cadeaubon has only one productprice = € 0,00 It has two special fields, shopcart variants. One is the price the other is for text. In 2.014 it worked fine.

Indeed the productprice (€0,00) on ceez cadeaubon was duplicated about 6/8 times (I am not sure how often). I already deleted those. Only one left now. But this was not the solution. Still no order button?

All products with a generic child variant and all single products are updated oke!
Jimmie

It is a product with a 0.0 price and you add the price via variant? What happens if you use the 2.0.16c? Be aware, you can remove a price, or set a price to 0.0 (is overwriting parent).
Maybe you must just use 0.001 ?
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Jimmie on January 05, 2013, 19:38:06 PM
QuoteIt is a product with a 0.0 price and you add the price via variant? What happens if you use the 2.0.16c? Be aware, you can remove a price, or set a price to 0.0 (is overwriting parent).
Maybe you must just use 0.001 ?

I tried the simple solution first to give the parent a 0.0001 instead of 0.0 and that worked for me, thank you thank you! Jimmie
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: zanardi on January 08, 2013, 08:49:33 AM
I also had duplicate product price records after update to 2.0.16. But I am not able to delete the additional ones; they keep being recreated when I save the product.
I have a backup of 2.0.14; is there anything I can do BEFORE upgrade to avoid incurring in this issue?
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: zanardi on January 08, 2013, 08:57:32 AM
Reply to myself: I fixed the issue by manually updating the #__virtuemart_product_prices table. I set virtuemart_shoppergroup_id = 0 for all records (since I have have only one price for my products). This worked for me.

Please anyone, if you intend to follow this suggestion do a backup first and test it on a copy of your site.
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: xpozay on January 12, 2013, 06:55:15 AM
Thanks Zanardi, this worked for me too.

That said, I have around 500 products and do not wish to edit each product price to set the shopper group to zero.

Looking at the file all of my price records have a shopper group of 5, set by the migrator I guess?  5 for me is the warehouse so I am not sure why they would be set to the warehouse.

Also, I tried settings the logged in user to the warehouse (in fact all shopper groups) to see what would happen.  Regards of the shopper group the prices would not come up with exception of when the shopper group is set to zero.

How is this meant to work so I can try to get it working the proper way.

Thanks
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: wsfsb on January 15, 2013, 04:05:07 AM
I have stumbled upon this thread after the same trouble today.
I have migrated maybe 100 1.5 websites to 2.5 now, and maybe 20 or 30 Virtuemart 1 to 2 in the same time.  I THINK i know what i am doing by now.

This morning i did what i always do, backup, upgrade the Joomla 1.5 to 1.5.26, patch the old VM to 1.1.9 and use Jupgrade 2.5.2 to begin the migration process.
Installed VM 2.0.18c and the aio, all ok, moved over the old media images etc to the right place and then to hit the VM migration button.
I have the server timeout temp set to 200 secs for this and i went through each migration step one by one so they didnt time out, all looked fine. 
No prices.  Checked user groups, tax rate, currencies etc.  Nothing.

I repeated the steps above with a VM 2.016 same thing with 2.018 no prices.
Went back to 2.14 and wollah prices.

I did the same process each time.  I am wondering if there are different tables from 2.0.14 to 2.0.18 that dont carry over to a migration or upgrade?

Jason
Title: Re: 2.0.14->16: Add to cart buttons OUT
Post by: Rob Joyce on January 17, 2013, 05:01:56 AM
We had the same problem after upgrading to 2.0.18a from 2.0.14
We found the solution was to open each product and just click save.
It looks like something has been missed in the dbase updates when upgrading.
Nothing difficult to do.