Add discount price on product page

  • Posts: 6
  • Thank you received: 0
6 years 6 months ago #280168

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0
-- PHP version -- : 7.1

Hi,

Is there any way to add discount price (with a starting and an ending date) on the Product admin page not on the Discount page? If yes, how can i achieve this?

Thank you for your help

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
6 years 6 months ago #280169

Hi,

There is no option for that on the product prices. That would require custom development.

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

  • Posts: 6
  • Thank you received: 0
6 years 6 months ago #280216

Hi,

Thank you for your answer. Which view has to be modified to develop this feature? How can I start the develoment? I ask these quetions, beacuse I am a programmer and I would like to make adding discounts easier.

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

  • Posts: 12953
  • Thank you received: 1778
6 years 6 months ago #280235

Hello,

Editing the code of the "Listing_price" file of the "Product" view of your front-end template via "Hikashop->Display->Views" will probably do the job for what you want to achieve.

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

  • Posts: 3
  • Thank you received: 0
5 years 6 months ago #298790

Hallo,

does one have a solution here? Has anybody already tried that?
I would like to do the same but need help here

thank you.

best regards
Markus

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

  • Posts: 81511
  • Thank you received: 13066
  • MODERATOR
5 years 6 months ago #298791

Hi,

You would have to edit the product / form.php view file via the menu Display>Views to add the input field to enter the discount amount, or the discounted price. You would also have to add the corresponding column in the hikashop_product.
And finally, you would have to edit the product/listing_price.php view file to handle that new field.
If you're a PHP developer it should be not too difficult to add.

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

Time to create page: 0.085 seconds
Powered by Kunena Forum