VirtueMart Forum

VirtueMart 2 + 3 + 4 => Product pricing => Topic started by: aromasense on August 21, 2013, 12:42:03 PM

Title: All prices changed when using custom fields list
Post by: aromasense on August 21, 2013, 12:42:03 PM
Hi,

I am on my localhost joomla 2.5.8 VM 2.0.22b and have a challenge with the random product module on my pages.

Prices look good at first (see image prices_at_first) but when I change 1 custom field all prices in the random product module are changed (see image prices_when_1_quantity_changed)

The prices are correct in the cart page if you do add them to cart after it displayed the wrong prices
So the 9.65 will be 9.65 in the cart after it displayed 80.50 on the page See cart_page.PNG

Now I did ask this question in the forum of the template I bought and the developer tells me he tested this scenario on the default template and it has the same challenge.

Any ideas?

cheers
Marco

[attachment cleanup by admin]
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 21, 2013, 21:44:38 PM
and I am using PRO's dropbox plugin to make the dropdowns  http://forum.virtuemart.net/index.php?topic=99678.480 (http://forum.virtuemart.net/index.php?topic=99678.480)
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 22, 2013, 13:19:10 PM
OK so this is in the Module VirtueMart Products I can make several modules and they all do the same
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 24, 2013, 06:44:47 AM
Anybody?????
Title: Re: All prices changed when using custom fields list
Post by: Maxim Pishnyak on August 24, 2013, 11:52:40 AM
Quote from: aromasense on August 21, 2013, 12:42:03 PM
I am on my localhost joomla 2.5.8 VM 2.0.22b and have a challenge with the random product module on my pages.
Place your web site on free shared hosting and post here an url.
Quote from: aromasense on August 21, 2013, 21:44:38 PM
and I am using PRO's dropbox plugin to make the dropdowns  http://forum.virtuemart.net/index.php?topic=99678.480 (http://forum.virtuemart.net/index.php?topic=99678.480)
Did you ask PRO about your issue?
Title: Re: Add to cart not working on front page
Post by: aromasense on August 24, 2013, 13:52:03 PM
QuoteDid you ask PRO about your issue?
Yes I did mention it in the topic of PRO but I don't think that the plugin is the issue.

Anywhoo I did some more testing as the template supplier did give me a new default.php for the root/templates/html/mod_virtuemart_product/" directory.

This is when prices started to change, hence I went back to my original default.php and the old problem came back but the prices do not change anymore.

So that leaves me with the original(old) problem which I now also tested with another template and it show the same behaviour as my paid template.

I installed something here http://howtofirsttime.com/Joomla25/ (http://howtofirsttime.com/Joomla25/) and if you scroll down to the bottom where the random products are and try to up the quantity or add a product to the cart you will see that will not work. It will just go to http://howtofirsttime.com/Joomla25/index.php if you do add to cart

If you do the same on a category page http://howtofirsttime.com/Joomla25/index.php/cras-sollicitudin  (http://howtofirsttime.com/Joomla25/index.php/cras-sollicitudin) you will see the add to cart (it will go here http://howtofirsttime.com/Joomla25/index.php/cart) and up the quantity do work there and this is exactly the same as what I see on my localhost with a different template.

I changed the subject line to reflect the main issue.

Title: Re: All prices changed when using custom fields list
Post by: Maxim Pishnyak on August 24, 2013, 18:53:23 PM
First of all page has two jquery.js. 1st one is from your template. Get rid of it. Two jquery is BAD.
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 24, 2013, 20:51:42 PM
QuoteGet rid of it. Two jquery is BAD.
I believe you, how do I get rid of jquery(not even sure what it is :s)?
Title: Re: All prices changed when using custom fields list
Post by: Maxim Pishnyak on August 25, 2013, 19:24:13 PM
Quote from: Maxim Pishnyak on August 24, 2013, 18:53:23 PM
1st one is from your template. Get rid of it.
Did you check template options?
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 26, 2013, 09:35:27 AM
I can look but don't know what I am looking for  :-[
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 26, 2013, 10:42:09 AM
Alright did make the atomic template now the default here http://howtofirsttime.com/Joomla25/ and in the random products module the prices change for several product when you up the quantity for a product
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 26, 2013, 10:57:22 AM
Another observation is when you set a max of 4 products to show and 2 per row than only prices in the same row are affected the second row works separately, ie if you up the quantity in the first row the prices in that row get changed, if you hit the up the quantity in the second row only the prices in the second row get affected.

See screen shots

[attachment cleanup by admin]
Title: Re: All prices changed when using custom fields list
Post by: aromasense on August 28, 2013, 12:25:32 PM
MAxim you still around?  8)
Title: Re: All prices changed when using custom fields list
Post by: aromasense on September 02, 2013, 12:33:34 PM
It has gone awfully quite here, no chance of anybody who can shed some light on this?
Title: Re: All prices changed when using custom fields list
Post by: mda on September 08, 2013, 23:39:52 PM
I´m having exactly the same problem as aromasense and going nuts. After log finding the way to hame my shop a I liked it to be, I´ve got this changing prices, seems to be that the products on the same row of the VM-Category Module emulate always the price of the first product on the row.
Strange is that first the price appears correct, and after a second changes an all the products on the row show the same price. Second strange thing is thet if I add to cart this product the price on the cart is correct. Any idea will be very helpful.
I´m using Joomla 2.5 and VM 2.0.22
Thanks
Title: Re: All prices changed when using custom fields list
Post by: mda on September 08, 2013, 23:49:16 PM
aromasense, I´ve solve my problem, may be it helps you. On my mudule I have selected the option  "Vie Style" as "Based in Ul-li", I have changed it to "Based on DIV" and my prices are showing correctly.