Skip to main content

Add discount price on product page

9 years 1 month ago #280168 by krisi94
-- 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.

9 years 1 month ago #280169 by nicolas
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.

9 years 1 month ago #280216 by krisi94
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.

9 years 1 month ago #280235 by Mohamed Thelji
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.

8 years 1 month ago #298790 by markus1988
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.

8 years 1 month ago #298791 by nicolas
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.074 seconds
Powered by Kunena Forum