Products on Sale frontend display

  • Posts: 6
  • Thank you received: 0
10 years 7 months ago #186426

-- url of the page with the problem -- : www.temperament.hr/index.php
-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.3.6
-- PHP version -- : 5.3.29

Hello to all

I am searching few days and did not find any answer so I have to open new topic :blush:

I want to display on front page only products that are on discount from specific category, is that possible and if Yes, HOW :(
And one more, the regular price and price with discount is in same line, how to put regular price in next row?

Thnx

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #186453

1. Look here: www.hikashop.com/forum/product-category-...products.html#168860
It's the same way for discounted products.

2. Can be done per CSS: www.hikashop.com/support/support/documen...the-display.html#css
Add custom CSS such as this:

.hikashop_product_price_before_discount {
  display: block;
}


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Temperament

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

  • Posts: 6
  • Thank you received: 0
10 years 7 months ago #186465

1. If I did understood from the post I need to make an extra category and put products inside? Will that duplicate products, one in "sale" category and one in regular category?
Can it not be done that Hika content module "takes out" only products from specific category that have Discounts on it?

2. Thnx I will try it

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #186470

Temperament wrote: If I did understood from the post I need to make an extra category and put products inside?

Yes. As said in the post, you can assign multiple categories to a product. Or only that one to discounted products, just as you like.

Temperament wrote: Will that duplicate products, one in "sale" category and one in regular category?

Not if you assign only the "discounted" category to these products. Either that, or you put the "discounted" category outside the "Product category" (where all regular categories are) and then assign both regular and "discounted" category to the products. Both ways work, it probably depends on what is more convenient for you, or makes better sense to you.

Temperament wrote: Can it not be done that Hika content module "takes out" only products from specific category that have Discounts on it?

Nope, there's no option for that. Instead you simply create a product listing module (or menu item, if you prefer) and set its "Associated category" to wherever your discounted products are. And this way it's much more flexible, too... at least in my humble opinion. ;)


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
Last edit: 10 years 7 months ago by lousyfool.

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #186473

Hmm, I should maybe add that typically it makes much more sense to keep the "discounted" category outside of "Product category" and assign both the regular and the "discounted" categories to those products... because otherwise the discounted products will not show in their regular category listings but only under "discounted".


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )

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

  • Posts: 2143
  • Thank you received: 747
10 years 7 months ago #186479

2. I see that you added "display: block;" to the span of the discounted price directly in frontend_old.css.
Of course it works, but note that if you apply CSS changes this way (as opposed to creating a custom CSS file as per documentation) you are likely to lose all these changes and additions the next time you update HikaShop!
So, if you keep going this way, make sure you have a backup before updating.


Need help with customisations of layouts, style or other site development? PM me!
(Don't forget to turn on "E-mail notification of new messages" )
The following user(s) said Thank You: Temperament

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

  • Posts: 13201
  • Thank you received: 2322
10 years 7 months ago #186471

Hi,

That will not duplicate products, but products will be accessible from two categories.
To take out only products from specific category that have discount, you can create a main discount category, put the other categories in it, and then select this main category for the menu/module.

The following user(s) said Thank You: Temperament

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

Time to create page: 0.079 seconds
Powered by Kunena Forum