All variants under one product discount according to amount

  • Posts: 256
  • Thank you received: 2
7 years 1 day ago #267653

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.6.5
-- PHP version -- : 5.4.45
-- Browser(s) name and version -- : Chrome

Hello,
I have a bunch of variants under one product using different sizes. Depending on quantity they all get discounted in price, the more of the product you order. However the variants are treated like individual products.

I have it setup so if you order more than 11 you get a discount however if you order 10 of one size and 3 of a other size for the same product, it doesn't discount. It only discounts if you order 11 or more of the same size.

Is there away of grouping all the variants together under the one product and applying the price discounts to them all, rather than individually.


If there isn't away of doing it that way, is there some way of doing it at the cart stage using a discount code/coupon or something.

Thanks
Karen

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
7 years 20 hours ago #267657

Hi,

If you set the prices in each variant, then the price quantity restriction will apply per variant.
But if you set the prices in the main product only, then the price quantity restriction will apply for all the variants of the product.

Please Log in or Create an account to join the conversation.

  • Posts: 256
  • Thank you received: 2
7 years 12 hours ago #267724

Could you still do it that way if I need the different prices for each variant. But also want the quantity amount only on the main product not the variants?

Last edit: 7 years 12 hours ago by dancingkazzaf.

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
7 years 29 minutes ago #267756

Hi,

There is no option for that.
That would require modifying the algorithms in the getFullCart function of the file administrator/components/com_hikashop/classes/cart.php to calculate that differently.

Please Log in or Create an account to join the conversation.

  • Posts: 256
  • Thank you received: 2
6 years 11 months ago #267817

Okay thanks. Do you know the correct php alterations for this? Or is it alot more difficult than that.

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
6 years 11 months ago #267820

Hi,

I dont' know the correct modifications to do for that. It would require some debugging and developing to know exactly what to change where. I guess a few hours would be necessary to find what to do exactly and properly test a working solution.

Please Log in or Create an account to join the conversation.

  • Posts: 256
  • Thank you received: 2
6 years 11 months ago #268048

Hello,
This is something we would be interested for you to debug and develop for. Is there a estimation of price for this so we can put it forward to out client to see if they would like to go ahead with this?

Thanks

Please Log in or Create an account to join the conversation.

  • Posts: 26000
  • Thank you received: 4004
  • MODERATOR
6 years 11 months ago #268057

Hello,

We do not provide any quote via our forum.

If you're looking for custom development, feel free to contact some of our partners :
www.hikashop.com/home/our-partners.html

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 2 months ago #328914

HI,

I think this is somehting I require - did you ever get this sorted out?

Please Log in or Create an account to join the conversation.

  • Posts: 81504
  • Thank you received: 13064
  • MODERATOR
3 years 2 months ago #328926

Hi,

Could you describe what you're trying to do and provide an example ? This thread is 4 years old so many things changed in HikaShop, and what you need might also not be exactly what the other user here wanted so I'll need moire information on your situation to be able to provide a useful answer.

Please Log in or Create an account to join the conversation.

  • Posts: 356
  • Thank you received: 7
  • Hikashop Business
3 years 2 months ago #328927

HI,

I thought that may be the case - I haver created a new thread here:

www.hikashop.com/forum/product-category-...me-price-points.html

Thanks

Please Log in or Create an account to join the conversation.

Time to create page: 0.085 seconds
Powered by Kunena Forum