[Skip to main content](#vessel-content)

#   quantity pricing across different characteristics

##

- **[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")**
- [![jwilliams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14121-jwilliams "View jwilliams's Profile") Topic Author
- [ Offline](/forum/user/14121-jwilliams)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 8 months ago [\#92518](#92518) by [jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")  *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92518 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")* was created by *[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")*

How can you keep the pricing attributes across multiple characteristics?

For example, if a product (birdhouse) has pricing set at
$6.00 each or $5.00 per item for buying at least 2

And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.

Example right now;
2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).

I would like for the pricing to work regardless of the characteristics selected.

Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?

Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?

The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 8 months ago [\#92539](#92539) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92539 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

Hi,

Did you set a price to your product's variants? if that's the case you should delete all the price of your product's variants, then they also have the price of the product.

Hope this will help you.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")**
- [![jwilliams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14121-jwilliams "View jwilliams's Profile") Topic Author
- [ Offline](/forum/user/14121-jwilliams)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 8 months ago -  13 years 8 months ago [\#92584](#92584) by [jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")  Replied by *[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92584 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

No, the product variants have no pricing associated with them.

They should be using the pricing of the main product. Which they do, to an extent, however, multiple variants of different characteristics don't get the discounted pricing when added to an order. The discount only seems to work when you select identical characteristics of the product.

Let me try again.

Product = Bird House

Characteristics
Color = Red / Blue / Green / Etc..

Pricing
Minimum Quantity of 1 = $6
Minimum Quantity of 2 = $5

If they purchase two different variants of the same product (1 red bird house, and 1 green bird house).
I would expect the pricing to use the minimum quantity of 2 and thus it should give them the discounted price of $5.
However, it doesn't do that, the discounted pricing only works if all variations of the product match (meaning to get the discount, you must purchase 2 blue bird houses, or 2 red bird houses). I want the quantity pricing to work across of of the products, regardless of their variations of that particular main product.

Last edit: 13 years 8 months ago by [jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 8 months ago [\#92592](#92592) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92592 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

It should works, Do you have the last version of hikashop ? If that's not the case can you Update your Hikashop version ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")**
- [![jwilliams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14121-jwilliams "View jwilliams's Profile") Topic Author
- [ Offline](/forum/user/14121-jwilliams)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 8 months ago [\#92631](#92631) by [jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")  Replied by *[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92631 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

I'm running the latest version

You have the latest stable version : 2.1.0

If you would like to see what I'm talking about, try this url (don't complete the order of course).
[ www.hearnsbergersgourdfarm.com/index.php.../32-gourd-wren-house](http://www.hearnsbergersgourdfarm.com/index.php/hikashop-menu-for-categories-listing/product/32-gourd-wren-house)

But add one blue birdhouse to your cart, and then add one green birdhouse, and you will see them both listed at $6 still instead of the discounted $5 which they should be for purchasing two of them.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86322
- Thank you received: 14281
-
-

13 years 7 months ago [\#92919](#92919) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92919 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

Hi,

Actually, that is not yet handled.
That however sounds logical.

You will have to replace the files administrator/components/com_hikashop/classes/product.php administrator/components/com_hikashop/classes/cart.php and components/com_hikashop/views/product/view.html.php by the files in that archive and that will make it work like that.

We'll include that in next version of HikaShop.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

- **[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")**
- [![jwilliams's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14121-jwilliams "View jwilliams's Profile") Topic Author
- [ Offline](/forum/user/14121-jwilliams)

Less More

- Posts: 4
- Thank you received: 0
-
-

13 years 7 months ago [\#92922](#92922) by [jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")  Replied by *[jwilliams](/forum/user/14121-jwilliams "View jwilliams's Profile")* on topic *[quantity pricing across different characteristics](/forum/4-how-to/78853-quantity-pricing-across-different-characteristics#92922 "How can you keep the pricing attributes across multiple characteristics?  For example, if a product (birdhouse) has pricing set at $6.00 each or $5.00 per item for buying at least 2  And has a characteristic of color, the combined pricing only works if they select the same characteristic for both.  Example right now; 2 blue birdhouses total $10, while 1 blue and 1 red total $12 (the discounted pricing doesn't apply).  I would like for the pricing to work regardless of the characteristics selected.  Is there a built in solution for this? Is there a creative hack for accomplishing what I'm looking for?  Is there a section of the code you could point me towards if I wanted to try to implement this functionality on my own?  The person with a solution gets a free birdhouse LOL, their choice of color. :laugh:")*

You are amazing! I will apply this today and let you know the results!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzc4ODUzLXF1YW50aXR5LXByaWNpbmctYWNyb3NzLWRpZmZlcmVudC1jaGFyYWN0ZXJpc3RpY3M/dG1wbD1tYXJrZG93bg==) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.139 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
