VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: farangprod on September 11, 2013, 14:23:02 PM

Title: problem with stockable variants plug-in
Post by: farangprod on September 11, 2013, 14:23:02 PM
hi,

i'm coming her to try finding solution for few troubles i have with the stockable variants plug-in.

I need to sell some products with variants so i choose the parent/children system and the the sotckable plug-in to make shoppers choosing options.
Example of product:

kite
|
|_____ size of kite
|_ size 4m²
|_ size 6m2
|_ size 8m²
|_ size 10m2
|_ size 12m²
|_ size 14m2

1° problem

Even with an order number on each child, in the dropdown, the order is not correct (pict 1 & 2)
how to order children?


2° problem

when i use "stockable variants" plug-in, i have trouble with add to cart.
after choosing size option, when i try to had product to card, the cart stay empty and the modal windows, open itself and says "undefined" instead of " the name of the product have been had to the cart"
why there is such a problem?


3° problem

for discounts, i use several DATax (-50%, -40%, -30%...) that i have created.
even "no rules" is selected on parent and child product, in the frontend, the showing price is discounted with ALL DATax.
ex:
normal price: 749€
showing price: ((((749 -50%)-40%)-30%)-20%)-10% = 113.25€
how is it possible?


if someone could help me to resolve this it could be sick!
thanks


config:
joomla: 2.5.14
virtuemart: 2.0.22c
page ex: http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail (http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail)

[attachment cleanup by admin]
Title: Re: problem with stockable variants plug-in
Post by: Jörgen on September 11, 2013, 15:12:33 PM
Hello farangprod

For problem 3 i have the explanation. The rules are applied after each other. In Your case it will be

1. -50 % of 100 % = 50 % left
2. -40 % of 50 % = 30% left
3. -30 % of 30 % = 21 % left
4. -20 % of 21 % = 16,8 left %
5. -10 % of 16,8 % = 15,12 % = 0,1512 * 749 = 113,2488

This is how it works and is a consequence of how the calculation rules are applied, one after another without actually having to know anything about the previous rule.

regards

Jörgen @ Kreativ Fotografi

Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 11, 2013, 17:17:43 PM
thanks Jörgen for it

what i don't understand is why, when i choose " no rules" i still have the rules applied with the plug-in and i don't have without plug-in?
how to define discount with this plug-in so, if DATax doesn't work  as it hould do?
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 15, 2013, 12:35:15 PM
Quote from: farangprod on September 11, 2013, 17:17:43 PM
what i don't understand is why, when i choose " no rules" i still have the rules applied with the plug-in and i don't have without plug-in?
Are you sure that you choosed to use "no rules" in all available places?

For 1. There could be a solution for this on forum. Did you try to use forum search button.

For 2. What are product setup that product this issue? Did you test this on standard Joomla template. On version 'd' of VM?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 15, 2013, 14:08:53 PM
QuoteAre you sure that you choosed to use "no rules" in all available places?

Yes i choose "no rules" for the parent and the children items.

QuoteFor 1. There could be a solution for this on forum. Did you try to use forum search button.

If you speak about turning off the order options in category layout, like "order by" and "number of item in a page"... it's not an available solution for me.
If you speak about an another way, i didn't find during my long research time on the forum. The only thing i found is  about 80% of problems close to mine don't have solution answers!

QuoteFor 2. What are product setup that product this issue? Did you test this on standard Joomla template. On version 'd' of VM?

- My product setup is parent/child and nothing else significative...i followed several tutos for checking if i made mistake, but i didn't find any error in my way to use it.
- Testing it on a standard joomla template means to build again my template without t3 framework to check if the framework cause the problem, a special module cause it or if VM is buggy ... a lot of work!
- for testing the "d" version of VM, i need to wait they release it !!! the "c" version is the last one!
Title: Re: problem with stockable variants plug-in
Post by: jenkinhill on September 15, 2013, 15:02:01 PM
2.0.22d was released a week ago, on 08/09/2013.  http://dev.virtuemart.net/projects/virtuemart/files
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 15, 2013, 15:16:48 PM
Sorry, you're right !
when i checked i saw the title "2.0.22 C (stable, hardened version)" but didn't watch properly the downloadsd under it.
i will test it tonight...
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
Quote from: farangprod on September 15, 2013, 14:08:53 PM
QuoteFor 1. There could be a solution for this on forum. Did you try to use forum search button.
If you speak about turning off the order options in category layout, like "order by" and "number of item in a page"... it's not an available solution for me.
Nope. I'm talking about order of custom fields. I'm sharing these for you
http://forum.virtuemart.net/index.php?topic=90362.0
https://forum.virtuemart.net/index.php?topic=109785.msg346865#new
Quote from: farangprod on September 15, 2013, 14:08:53 PM
If you speak about an another way, i didn't find during my long research time on the forum. The only thing i found is  about 80% of problems close to mine don't have solution answers!
Could you share these old problems/threads to me? We are working hardly currently. So I could make a ride and check these old threads and post there available currently answers.

Quote from: farangprod on September 15, 2013, 14:08:53 PM
QuoteFor 2. What are product setup that product this issue?
- My product setup is parent/child and nothing else significative...i followed several tutos for checking if i made mistake, but i didn't find any error in my way to use it.
Quote from: farangprod on September 15, 2013, 14:08:53 PM
QuoteAre you sure that you choosed to use "no rules" in all available places?
Yes i choose "no rules" for the parent and the children items.
Is it possible for me to take a look at your setup that could produce "no rules" issue?
Quote from: farangprod on September 15, 2013, 14:08:53 PM
QuoteFor 2. Did you test this on standard Joomla template. On version 'd' of VM?
Testing it on a standard joomla template means to build again my template without t3 framework to check if the framework cause the problem, a special module cause it or if VM is buggy ... a lot of work!
Could you use Beez5 for example as a template and just turn off t3 for the basic check?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 16, 2013, 06:43:56 AM
I tested with VM 2.0.22d .... nothing changes!

Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
Nope. I'm talking about order of custom fields. I'm sharing these for you
http://forum.virtuemart.net/index.php?topic=90362.0
https://forum.virtuemart.net/index.php?topic=109785.msg346865#new
I tryed the "asort" solution but it orders options like this:
aaa
bbb
ccc
but it's not the way i would like to have them, i want the order i save in parent product.
(http://forum.joomla.fr/attachment.php?attachmentid=25670&d=1378860164)

here is the way options are ordered:
(http://forum.joomla.fr/attachment.php?attachmentid=25671&d=1378860198)

Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
Could you share these old problems/threads to me? We are working hardly currently. So I could make a ride and check these old threads and post there available currently answers.
I will check and tell you...
I have one example in mind... my links "return to category" and "go on shopping" didn't work so, i searched in the forum, i found many post of people who have the same troubles but no available answers... finally i found by myself that i was because of sh404sef plug-in and to keep it and make the links woking, i had to turn off seo in VM.

Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
Is it possible for me to take a look at your setup that could produce "no rules" issue?
You can see on the picture above i choose "no rules" DATax on price product but on frontend the discount is applied and if i publish few DATax everyone is applied in same time... cannot choose none or just one!

Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
Could you use Beez5 for example as a template and just turn off t3 for the basic check?
I checked with atomic template and all troubles are still there so, it's not a problem with T3 framework...
with atomic template add to cart is still "undefined", options are still in the good order and the DATax is still applied when no DATax is selected.

You can check here:
http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail (http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail)
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 18, 2013, 02:35:54 AM
parts of my problems are solved with this post:

http://forum.virtuemart.net/index.php?topic=118482.0 (http://forum.virtuemart.net/index.php?topic=118482.0)

still have troubles with the options sort...
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 18, 2013, 09:33:21 AM
Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
http://forum.virtuemart.net/index.php?topic=90362.0
Did you check this mentioned by me above thread?
Title: Re: problem with stockable variants plug-in
Post by: JediG on September 18, 2013, 14:27:11 PM
Hi!

I have a same problem.
Joomla! 2.5.14
VM 2.0.22d

My test site www.saltaim.ru (http://www.saltaim.ru)

Quote from: farangprod on September 11, 2013, 14:23:02 PM
2° problem

when i use "stockable variants" plug-in, i have trouble with add to cart.
after choosing size option, when i try to had product to card, the cart stay empty and the modal windows, open itself and says "undefined" instead of " the name of the product have been had to the cart"
why there is such a problem?
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 18, 2013, 16:34:23 PM
Use this then
Quote from: farangprod on September 18, 2013, 02:35:54 AM
http://forum.virtuemart.net/index.php?topic=118482.0 (http://forum.virtuemart.net/index.php?topic=118482.0)
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 19, 2013, 02:23:48 AM
Quote from: Maxim Pishnyak on September 18, 2013, 09:33:21 AM
Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
http://forum.virtuemart.net/index.php?topic=90362.0
Did you check this mentioned by me above thread?

I checked your link but it doesn't resolve my problem because they speak about ordering custom fields and me i need to sort options of stockable variants
Title: Re: problem with stockable variants plug-in
Post by: JediG on September 20, 2013, 06:56:35 AM
Quote from: Maxim Pishnyak on September 18, 2013, 16:34:23 PM
Use this then
Quote from: farangprod on September 18, 2013, 02:35:54 AM
http://forum.virtuemart.net/index.php?topic=118482.0 (http://forum.virtuemart.net/index.php?topic=118482.0)

It solved my problem and I can move further now.
Thanks!  ;)
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 20, 2013, 11:47:41 AM
Quote from: JediG on September 20, 2013, 06:56:35 AM
It solved my problem and I can move further now.
Thanks!  ;)
You're welcome.
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 20, 2013, 11:50:41 AM
Quote from: farangprod on September 19, 2013, 02:23:48 AM
Quote from: Maxim Pishnyak on September 18, 2013, 09:33:21 AM
Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
http://forum.virtuemart.net/index.php?topic=90362.0
Did you check this mentioned by me above thread?

I checked your link but it doesn't resolve my problem because they speak about ordering custom fields and me i need to sort options of stockable variants
Could you check current status of ordering issue in this thread
http://forum.virtuemart.net/index.php?topic=103067.0
?
If issue isn't resolved there by somebody, I could try to apply
Quote from: Maxim Pishnyak on September 16, 2013, 04:30:48 AM
http://forum.virtuemart.net/index.php?topic=90362.0
myself at your web site. Pming access is welcome then.
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 20, 2013, 16:44:18 PM
There is still no issue for this problem in the topic you linked.
19 pages and someone still ask how to resolve this problem on page 17 without answer.

I succed to sort my options in the database but this solution is not an issue!

i send you access by pm for you can try to change the options sort
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 20, 2013, 18:59:39 PM
Quote from: farangprod on September 20, 2013, 16:44:18 PM
I succed to sort my options in the database but this solution is not an issue!
Then what test product I could use for my tests? This one
Quote from: farangprod on September 11, 2013, 14:23:02 PM
page ex: http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail (http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail)
or another?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 20, 2013, 20:05:04 PM
yes, this one is perfect!
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 21, 2013, 13:06:50 PM
So your issue is solved?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 21, 2013, 14:24:59 PM
No, because i still have trouble with options ordering.
i add 6 new children for 1 more color and my list became a unordered list...
using the database to change ordering is not an acceptable solution!
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 21, 2013, 18:57:26 PM
Quote from: Maxim Pishnyak on September 20, 2013, 18:59:39 PM
Quote from: farangprod on September 20, 2013, 16:44:18 PM
I succed to sort my options in the database but this solution is not an issue!
Then what test product I could use for my tests? This one
Quote from: farangprod on September 11, 2013, 14:23:02 PM
page ex: http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail (http://absolutkiteboarding.farangprod.com/gin-uru-2012-detail)
or another?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 21, 2013, 20:00:33 PM
this one!
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 22, 2013, 11:26:18 AM
Well, then how I could know that existing issue
Quote from: farangprod on September 11, 2013, 14:23:02 PM
Example of product:

kite
|
|_____ size of kite
|_ size 4m²
|_ size 6m2
|_ size 8m²
|_ size 10m2
|_ size 12m²
|_ size 14m2

1° problem

Even with an order number on each child, in the dropdown, the order is not correct (pict 1 & 2)
how to order children?
is gone?

What is wrong with that one?
Title: Re: problem with stockable variants plug-in
Post by: farangprod on September 22, 2013, 13:36:14 PM
i don't know what's wrong with this one!
the only thing i know is that in the dropdown, i have:

12m²
4m²
10m²
6m²
14m²
8m²

so i don't know how ordering is working because even id sort is not respected.
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 22, 2013, 15:08:00 PM
I'll take a look. Strange, I saw correct order sometime ago.
Title: Re: problem with stockable variants plug-in
Post by: Maxim Pishnyak on September 27, 2013, 09:13:05 AM
Errm.. I have admin, not superadmin access. So I can't apply available on forum fixes for custom field ordering.