VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: claud_rey on November 26, 2013, 05:41:28 AM

Title: VitueMart Quantity Plugin
Post by: claud_rey on November 26, 2013, 05:41:28 AM
I have a questions about you VitueMart Quantity Plugin.

We need a functionality where we could able to define specific amount to a specific quantity of product.

Example:

1 => $1
10 => $8
20 => $15
30 => $21

then if a customer bought 13 items, she will be charge the amount of

($1 * 5) + ($10 * 1) = $15

My concern and question, can the plugin able to handle this scenario?

Thank You in advance! :)
Title: Re: VitueMart Quantity Plugin
Post by: Matej.iStraxx on November 26, 2013, 12:41:35 PM
Hello,

I apologize I cannot figure out what you are expecting as operation and result.

Please have a look here we have some showcases: http://istraxx.com/index.php/showcases-for-quantity-plug-in probably this can help you to bring your idea forward.

Furthermore there is a written tutorial and a video here: http://extensions.virtuemart.net/all-tutorials/10-calculation-rules/11-quantity-plugin

Do you mean:

1.........9 -1$
10.....19 -8$
(...)
21....30 -21$

and so on? Is that what you want to achieve with the Plugin?

Thank you for your time and consideration.
Title: Re: VitueMart Quantity Plugin
Post by: claud_rey on December 02, 2013, 18:14:21 PM
Hi Matej.iStraxx,

Do you mean:

1.........9 -1$
10.....19 -8$
(...)
21....30 -21$

and so on? Is that what you want to achieve with the Plugin?




Yes, this is what I mean.

So example if a customer purchase 12pcs of items he will be change the amount of $10.

10pcs + 2pcs = ($8 * 1) + ($1 * 2)

This is the operation that I am expecting.


Thanks you so much for your help and time.
Title: Re: VitueMart Quantity Plugin
Post by: Matej.iStraxx on December 05, 2013, 15:03:39 PM
Okey, excuse my previous post, it is not correct.

Quote
1 => $1
10 => $8
20 => $15
30 => $21

this leads to following:

1-9 => no discount
10-19 => 2$ off
20-29 => 5$ off
30-infinite => 9$ off

Goto tax & calculation rules and then to your new rule. Use math operation "-" (for this case; you have to decide what makes sense for other cases.)

You will find a small icon to add more rows into the table at the bottom of the page.

10.......19........2
20.......29........5
30.....empty....9

Kind regards

Title: Re: VitueMart Quantity Plugin
Post by: gap on April 01, 2018, 12:37:32 PM
Hello,

Joomla! 3.8.5 / VirtueMart 3.2.12 /Gantry 5

I purchased this plugin a little bit more than 1 year ago. As I installed it worked fine unless it didn't show the quantity discount table. As I finally didn't use it that time I forgot it.
But now I'd need this plugin but cannot get it to show the table. Other functions work. I tested the quantity discount on different attributes too and it uses all the calculation rules rigthly. The only problem is not showing the table.

As I checked in your test website the table is showed inside
DIV class="spacer-buy-area"
in
DIV class="productDisplayShipment productDisplayShipment-0"

This 2nd DIV is missing totally in my case.

Show Rule name as table headline    = ON
Show Discount table in FE product detail = ON

Rule type: -%
ranges:
0 - 4 = 0
5 - 9 = 10

I also tried the dummy line of 1 to 1 but didn't work.