Different product display page based on category

  • Posts: 8
  • Thank you received: 1
10 years 2 months ago #206410

-- url of the page with the problem -- : www.completepet.com.au/shop/product/277-complete-meal-chicken
-- Joomla version -- : 2.5.28
-- PHP version -- : 5.3.39
-- Error-message(debug-mod must be tuned on) -- : Once again, not an error.

I have looked but can not find what I am looking for and that is to be able to create different product display based on product category. If I have missed this then please accept my apologies. As per the link shown, we would like to modify this display for this category so that it displays extra text instructions up where "Please note: prices are subject to change without notice." is shown at the top of the page.


ARK - Our Survival
Cheers
Jeff

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

  • Posts: 2143
  • Thank you received: 747
10 years 2 months ago #206418

There are at least two ways I can think of to do so:

1. Create a custom field of type "product", as "read only" and limited to the specific categories, and disable it for the frontend, so it won't show where all custom product fields are showing. Then you edit the view "product / show_default" and put a little PHP snippet to load the field and place it where you want. The rest is HTML and CSS to make it appearing how you want.
You'll find basic instructions here:
www.hikashop.com/support/support/documen...shop-field-form.html
www.hikashop.com/support/support/documen...ize-the-display.html
And more on the PHP code if you're searching this forum.

However, if you're not sure what you're doing, get a developer to do it for you, or consider this:

2. Make it a Joomla module, publish it to a position you like, and use "NoNumber Advanced Module Manager (PRO version" to limit the display of the module to only product pages of specific product categories.


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.

Time to create page: 0.057 seconds
Powered by Kunena Forum