All variants under one product discount according to amount

  • Posts: 250
  • Thank you received: 2
  • Hikashop Business
4 years 3 weeks 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: 72763
  • Thank you received: 11096
  • MODERATOR
4 years 3 weeks 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: 250
  • Thank you received: 2
  • Hikashop Business
4 years 3 weeks 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: 4 years 3 weeks ago by dancingkazzaf.

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

  • Posts: 72763
  • Thank you received: 11096
  • MODERATOR
4 years 3 weeks 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: 250
  • Thank you received: 2
  • Hikashop Business
4 years 3 weeks 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: 72763
  • Thank you received: 11096
  • MODERATOR
4 years 3 weeks 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: 250
  • Thank you received: 2
  • Hikashop Business
4 years 2 weeks 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: 24861
  • Thank you received: 3828
  • MODERATOR
4 years 2 weeks 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: 295
  • Thank you received: 4
  • Hikashop Business
3 months 1 week 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: 72763
  • Thank you received: 11096
  • MODERATOR
3 months 1 week 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: 295
  • Thank you received: 4
  • Hikashop Business
3 months 1 week 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