Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Creating list of compatible categories on product page. Rate Topic   - - - - -

 

Posted 20 February 2010 - 07:40 AM #1

Hello every one,
i am hoping any one of you might be able to help me out with this as i dont have any experience with php, but sounds like an easy task. this is what i want to accomplish.

on the basis of SECONDARY CATEGORIES for an item i want to show a list of All the compatible categories (with their links and images) on the item detail page.

for an example, if item 1 is compatible (having 1 main and 4 secondary categories) with 5 categories say cat 1, cat 2, cat 3, cat 4, cat 5, so the item detail page of item 1 should have all of these categories listed at the bottom of the page with their images and links.

please see the attached image to have an idea on what exactly i want to acheive.

i'll appreciate any sort of help.

Best Regards,

Attached Thumbnails

  • compatibility.jpg


 
  • scase
  • Senior Member
  • Members
  • Join Date: 19-Dec 08
  • 294 posts

Posted 21 February 2010 - 03:07 AM #2

I think a block would work for you because you can label it whatever you like and assign the specific categories you want by selecting categories and manual for the settings of the block. You will be have to create the block on the Product level then you can go to each product, enable the block and assign your categories.

I am using 2.0.8 and know this would work fine. I would think it would work the same in 2.0.12 if that's the version you're using.

Good luck and hope this helps!
Regards,
Stephanie
www.Products4Pets.com
CS-Cart 2.0.8
Hosting with WestHost

 

Posted 21 February 2010 - 09:43 PM #3

Stephanie
i appreciate your help on this but i was loking more of an automated kind of solution, as i have almost 3,000 products which has the compatibility among different categories so doing it manually will take a lot of time.

i was thinking of something like writing a custom code in the item detail page to pull the secondary categories for that item and just show them with their links and images it sounds like an easy solution but dont know what page to modify and im also not very familier with php :)

so lets see if i have any better ideas from some one else, but i do appreciate your help though.


I think a block would work for you because you can label it whatever you like and assign the specific categories you want by selecting categories and manual for the settings of the block. You will be have to create the block on the Product level then you can go to each product, enable the block and assign your categories.

I am using 2.0.8 and know this would work fine. I would think it would work the same in 2.0.12 if that's the version you're using.

Good luck and hope this helps!