Results 1 to 9 of 9
  1. #1
    Join Date
    Feb 2010
    Posts
    41
    Plugin Contributions
    0

    Default Add new or change music filters

    I want to use the filtering that Zen Cart has built in but can only find very limited information on it. Is there any place that has a tutorial on how to either change the music filters or add in new ones of my own.

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add new or change music filters

    You might look at the add on plugins ... there is a nice one for music that adds addition sideboxes and listings based on music elements that is pretty nice ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Add new or change music filters

    I do not need sideboxes, I need to change the variables of the Music content. For older content there was the Book product type and there is a new one started for 1.5 but I just need to change the items for now or have someone point me in the direction of where to learn about this. I can not even find the old file to download to look at. They said they could do it without touching core files and did it all from the template folder.

    I need to know how the genre and type filters are done.

    http://www.zen-cart.com/showthread.p...-%28by-moku%29

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Add new or change music filters

    What was nice about it was it added on the product_info page for music links for listings on:
    Artist: Artist 1
    Record Company: ABC Group
    Music Genre: Rock

    and the options for sideboxes for those ...

    Once you see how it works, it might help you in adding your additional fields that you want or to better utilize the fields already there ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  5. #5
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Add new or change music filters

    Quote Originally Posted by AlteredVision View Post
    I need to know how the genre and type filters are done.
    The SQL is done in /includes/index_filters/
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  6. #6
    Join Date
    Feb 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Add new or change music filters

    I must be explaining this wrong because I am not getting what I need.

    I want to make a filter system just like Music with the filtering that it has, I do not want to use music. I am going to use it for a catalog that has nothing to do with music, I just want the filtering system that it uses. I need to either change the music setup or add in a new one. Is there any documentation on how to do this?

  7. #7
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Add new or change music filters

    Yes, you're not explaining it well.

    You're assuming the music system will "just work" for whatever unexplained use you intend to apply it to. CAN YOU PLEASE BE MUCH MORE SPECIFIC?

    The music filters re-use some internal things, such as (but not limited to) repurposing the 'manufacturer' for 'artists' ... and simply repurposing is very different than adding additional custom fields for very custom data that you wish to filter by.

    WHAT do you want to filter?
    WHAT extra data will you need to collect in order to filter it?
    WHAT business problem will all of this specifically solve?
    WHAT exact pieces of the "music filter" are the things you want to mimic? There are numerous things in the music stuff. Is it the sidebox dropdowns that you want? Is it the display of certain info on the product-info page that you want? Is it certain controls on the admin back-end that you want? Is it certain search-isolation things that you want, and which ones?
    etc
    etc
    etc

    Explain your end goal, and maybe we can help you better. You're jumping into presuming a certain technical implementation before first explaining the problem that you want to solve.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    Feb 2010
    Posts
    41
    Plugin Contributions
    0

    Default Re: Add new or change music filters

    I have an automotive website that sells all kinds of parts for your vehicle. Using categories is fine but I want something a little better and more of an industry standard. What I need to have is a way to filter results with keywords, like manufactures does. I want to group a bunch of items into 1 group but also have them in another group all done inside the item itself. This way I can have the manufacture as the main categorize making it easy to put all their items on sale and update them and also giving the customer a way to find the product through several variables. I have several manufactures and the parts fit into different categories.

    I want it setup just like the music product type where I can have one item go into several filters.

    My filters need to be:
    Manufactures
    Suspension
    Drive-train
    Performance
    Interior
    Exterior

  9. #9
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Add new or change music filters

    I recall someone posting about a purchasable addon that is catered to the auto parts industry. I'm guessing that it takes into account all the things you're mentioning. Maybe it's worth exploring rather than reinventing it all. Might be some free plugins already available too.

    To write it yourself, much like the book product-type, you will need to add various extra custom fields to the database, add those fields to all relevant forms in the front-end and the admin, add validation logic to make sure submitted data is accurate, add extra search fields and build the logic to accommodate those fields during search requests, perhaps add pulldown menus for filtering, etc.
    Existing product-type plugins will help you see which files are involved with most things related to custom product-types ... which is basically what you're talking about.

    You said you want to expand the existing manufacturer keyword filter ... but if I'm following your wording correctly, I think you're making an assumption about "keywords" that doesn't accurately match to "manufacturers". Manufacturers are stored as a list of numbers with corresponding names, and if someone wants to filter by a manufacturer, they pick from a list of names which then sets the filter id to the number associated with that manufacturer, thus returning only the entries for that manufacturer. No keywords at all. The music filters work the very same way: a bunch of predefined values associated with names, and those values/numbers are stored in a table related to the product, so that lookups can be done based on the selected numbers.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. anting to add more filters to search
    By DragonLady in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 25 Jun 2010, 10:57 AM
  2. Paypal: new fraud managment filters
    By gl330k in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 24 Nov 2008, 06:44 PM
  3. add manufacturer when insert new music product
    By taguchi_isara in forum Customization from the Admin
    Replies: 0
    Last Post: 26 Dec 2007, 09:50 AM
  4. How can i add diferent filters ?
    By lolutzu in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 18 Dec 2007, 06:20 PM

Posting Permissions

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