2 diff products at a lower price when bought togeh

  • Posts: 11
  • Thank you received: 2
11 years 1 week ago #132565

-- url of the page with the problem -- : infinityfragrance.com/cass7/products/category/22-audio-cds
-- HikaShop version -- : 2.2.1
-- Joomla version -- : 3.1.5
-- PHP version -- : 5.3.26
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

As you can see on the page, the 2 Cds are priced at 24 sgd each. What should I do to allow buyers to pay only 40 sgd when the 2 cds are bought together instead of 48 sgd?

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

  • Posts: 12953
  • Thank you received: 1778
11 years 1 week ago #132577

Hi,
The solution will probably be to add the first product as an option of the second product, and add the second product as an option of the first product through the "option" tab of your product page, where you'll be able to adapt the price of your products.

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

  • Posts: 11
  • Thank you received: 2
11 years 1 week ago #132653

However when I do that, I cannot modify the price the price of the items. When added together, it is 48 sgd. theres no way for me to reduce $8 from it.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 week ago #132700

Hi,

The best way I see it is using a custom plugin for creating a custom rule.
In HikaShop, the orders have something called "additional". In this "additional" part, you can create fees or discounts.
Using a custom plugin, you can check the cart and when your two products are in the cart, you can create (or remove) the additional line for your special discount.
It requires some PHP/Development skills. You can find the developer documentation (with the different triggers) here : www.hikashop.com/support/documentation/6...r-documentation.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.

Time to create page: 0.075 seconds
Powered by Kunena Forum