osCmax v2.5 User Manual
Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Can I categorise products by multiple criteria?

This is a discussion on Can I categorise products by multiple criteria? within the osCmax v2 Customization/Mods forums, part of the osCmax v2.0 Forums category; I would like to list out products by multiple product categorisations - is this possible? To clarify, here's what I ...

      
  1. #1
    New Member
    Join Date
    Feb 2010
    Posts
    10
    Rep Power
    0


    Default Can I categorise products by multiple criteria?

    I would like to list out products by multiple product categorisations - is this possible?

    To clarify, here's what I mean, using cars as an example:

    By Make:
    Peugeot
    BMW
    Mitsubishi
    Subaru

    By Colour:
    Black
    White
    Green

    By Price:
    <£1000
    £1000-£5000
    >£5000

    I thought it would be nice to separate them with a space but I can't see how to do this.

    I also realise I can subcategorise, however I would like all the search criteria to be visible at all times, without having to click on the major category to reveal the subs.

    Anyone got a solution to this at all?
    Thanks.

  2. #2
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Can I categorise products by multiple criteria?

    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  3. #3
    New Member
    Join Date
    Feb 2010
    Posts
    10
    Rep Power
    0


    Default Re: Can I categorise products by multiple criteria?

    Thanks, that looks like just the thing. I understand I need to unzip the files to the same directory in which the site sits, but I'm not 100% sure where in there - do you know if I am supposed to create a new directory for them or just extract them to the main "catalogue" directory under the "www" directory? Many thanks for your help.

  4. #4
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Default Re: Can I categorise products by multiple criteria?

    Unfortunately, it is not that simple! You need to merge the code into the osCMax code ... it is not a simple drag and drop ...

    If you are not into coding then I would recommend that you try and find a techie to do this for you!

    Regards,
    pgmarshall
    _______________________________

  5. #5
    osCMax Development Team met00's Avatar
    Join Date
    Oct 2005
    Location
    wherever I happen to be at the moment
    Posts
    854
    Blog Entries
    2
    Rep Power
    26


    Default Re: Can I categorise products by multiple criteria?

    Quote Originally Posted by Rusti View Post
    Thanks, that looks like just the thing. I understand I need to unzip the files to the same directory in which the site sits, but I'm not 100% sure where in there - do you know if I am supposed to create a new directory for them or just extract them to the main "catalogue" directory under the "www" directory? Many thanks for your help.
    1) download the zip
    2) unpack on your local box
    3) read the documentation
    4) understand that it is written for OSC not osCMax and you will be changing .tpl.php files in the template/templatename/content directory NOT the catalog root php files so modify the directions accordingly
    5) follow the modified directions changing the template files as needed

    I will also state that PGM has made a great point.... if you are really unsure how to do this, seek professional help.
    so endith the lesson
    <think>sometimes I just sit's and thinks</think>
    "Here you are with a hand full of holes, a thumb up your ass, and a big grin to pass the time of day with." - TWB

  6. #6
    New Member
    Join Date
    Feb 2010
    Posts
    10
    Rep Power
    0


    Default Re: Can I categorise products by multiple criteria?

    Thanks guys.
    My store isn't fully populated yet so I am prepared to take a risk and try it myself as a re-install isn't a big deal just for now.
    I have downloaded "winmerge" file comparison utility and now have 2 of the files in front of me. Would I have to re-write any code in order to do this or can I just track the differences and put in the new lines of code?
    If re-writing is required does anyone know of a reasonably priced service for doing this?
    Thanks for your help.

  7. #7
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Lightbulb Re: Can I categorise products by multiple criteria?

    Either write the changes direct to the osCMax file (given that you have the standard zip file to fall back on), or do a three-way compare, writing out to a new file.
    The first option is easiest.
    Hosting plans with installation, configuration, contributions, support and maintenance.

  8. #8
    New Member
    Join Date
    Feb 2010
    Posts
    10
    Rep Power
    0


    Default Re: Can I categorise products by multiple criteria?

    OK thanks - so just to clarify, can I just identify where the new code is in the new document, and then paste it into the original file underneath the code in the section that's being compared with it in the utility manager? For example, see attachment.

    What I'm driving at is do I need to re-write anything to make it work properly or is cutting and pasting going to do the job?

    Thanks
    Attached Images Attached Images

  9. #9
    osCMax Development Team
    pgmarshall's Avatar
    Join Date
    Feb 2009
    Location
    London
    Posts
    2,678
    Rep Power
    49


    Smile Re: Can I categorise products by multiple criteria?

    Rusti,

    Looking at the screenshot for the merge in categories.php ... I think you may need someone who knows exactly what they are doing - that is one of the most complicated winmerges I have seen!

    You may also want to consider what you are trying to achieve ... have a look at my demo site ... I have changed manufacturers to colours by simply changing the language files (basically use manufacturers for the most commonly searched for item in your store) - I have then listed the products out by Range and by Room. Basically by creating a product and then copying it across to the other tree.

    Might be worth considering ...

    Perhaps if you explained more fully what your store is selling and the number of products, categories etc. we maybe able to help you find a simpler solution.

    Regards,
    pgmarshall
    _______________________________

  10. #10
    osCMax Development Team
    ridexbuilder's Avatar
    Join Date
    Jul 2008
    Location
    Haggisland
    Posts
    3,014
    Rep Power
    36


    Default Re: Can I categorise products by multiple criteria?

    Jumping PGM's reply (posted in the same minute):

    Pretty much, though to have success you may have to look at each added line on its' own merits. In the example given, I can't make out why boxes.php is being called - it may be fine, it may not.... You can but try; see what happens.
    [Easier doing the compares in the opposite direction ]

    PGMarshall's method is much easier, if appropriate.
    Last edited by ridexbuilder; 03-07-2010 at 04:51 AM.
    Hosting plans with installation, configuration, contributions, support and maintenance.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 0
    Last Post: 10-28-2009, 04:40 AM
  2. Add Multiple Products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 07-06-2009, 04:12 PM
  3. Add Multiple Products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-16-2009, 09:51 PM
  4. Add Multiple Products
    By michael_s in forum New osCommerce Contributions
    Replies: 0
    Last Post: 06-10-2009, 11:53 AM
  5. Specify Search Criteria with dropdown box(not by Attributes)
    By zel in forum osCommerce 2.2 Modification Help
    Replies: 3
    Last Post: 02-14-2005, 10:21 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •