Product old and new price display

  • Posts: 8
  • Thank you received: 0
9 years 8 months ago #212008

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.1
-- Browser(s) name and version -- : chrome

hello, I explain the problem.
I have the need for progress in the products and the list of products receive the old price crossed out and then the new one. I read in the forum but no solution was useful. Currently if I put two prices for a product image is always the lowest price. I went to the display / module content but also by changing the options the result is identical. How to do?

Last edit: 9 years 8 months ago by anth.

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

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
9 years 8 months ago #212061

Hi,

You want to create a discount via the menu Orders>Discounts.
That way, that discount will apply on the price of the product and you'll have an original price and a discounted price.
Then, you can change the "Show discounted price" to "display the price before the discount is applied" setting of the HikaShop configuration, and on the produce page of your products, you should then see both prices, with the original price being crossed.
For the listings, you can change the same option but when you edit your listings via the menu Display>Content menus/modules.

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

  • Posts: 8
  • Thank you received: 0
9 years 8 months ago #212111

I Want this for one product, not all

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

  • Posts: 8
  • Thank you received: 0
9 years 8 months ago #212175

Ok but now on the product page I want this disposition:
OLD PRICE
NEW PRICE

Now is:
OLD PRICE / NEW PRICE

what is the php file to be edited

Last edit: 9 years 8 months ago by anth.

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

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
9 years 8 months ago #212178

You can find the "Show discounted price" option in the Display tab of the HikaShop configuration:
www.hikashop.com/support/documentation/5...tml#display_products

And you can restrict a discount to only one product if necessary with the "products" setting of the discount:
www.hikashop.com/support/documentation/i...p-discount-form.html

Concerning the modification of the display of the elements, you can edit the file "listing_price" of the view "product" for your frontend template via the menu Display>Views of HikaShop.

Last edit: 9 years 8 months ago by nicolas.

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

  • Posts: 8
  • Thank you received: 0
9 years 8 months ago #212608

what is the code that I have to change?

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

  • Posts: 83799
  • Thank you received: 13571
  • MODERATOR
9 years 8 months ago #212615

Hard to say without looking at the result on your website.
Please provide a link to such page.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum