News:

Looking for documentation? Take a look on our wiki

Main Menu

problem with stockable variants plug-in

Started by farangprod, September 11, 2013, 14:23:02 PM

Previous topic - Next topic

farangprod

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

[attachment cleanup by admin]

Jörgen

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

Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

farangprod

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?

Maxim Pishnyak

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?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

farangprod

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!

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

farangprod

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...

Maxim Pishnyak

#7
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?
You can support Community by voting for Project on the JED
https://extensions.joomla.org/extension/virtuemart/#reviews
Join us at
https://twitter.com/virtuemart

farangprod

#8
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.


here is the way options are ordered:


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

farangprod

parts of my problems are solved with this post:

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

still have troubles with the options sort...


JediG

Hi!

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

My test site 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?


farangprod

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