Results 1 to 6 of 6
  1. #1
    Join Date
    Jun 2008
    Posts
    5
    Plugin Contributions
    0

    Default Modifying the URL string

    I am new to Zen but am a PHP expert and am wondering about using "Manufacturers" to represent Schools so I can preselect just a particular schools products.

    I am thinking that to do this, I will need to pass a $var around so that if a user clicks a category (EG: Shirts) he only gets shirts from School A or whatever "manufacturer" he choose (or came into the store from).

    If that is a good way to do it, how/where is the code to be found, and if there is a better idea, what might that be?

    Thanks

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Modifying the URL string

    Can use manufacture for schools but it will need selecting and will not be automatic can see others if they select another school/manufacture

    The rest is built into Zen Cart
    Last edited by kobra; 18 Jul 2008 at 03:21 AM.

  3. #3
    Join Date
    Jun 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Modifying the URL string

    Yes, that's fine if they see the other schools. My idea is to pass manufacturer_id in the url to get Zen preset.

    My issue is that, right now, if I choose manufac 1 I get a list, but if I click on a different category, I get all manufacturers stuff.

    What I want is to be able to edit these urls to ALWAYS use manfacturer_id (and I may edit the queries if needed) so that no matter what, once you select a manufacturer is will NOT allow anything else to display unless a different one is selected.

    Quote Originally Posted by kobra View Post
    Can use manufacture for schools but it will need selecting and will not be automatic can see others if they select another school/manufacture

    The rest is built into Zen Cart

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Modifying the URL string

    once you select a manufacturer is will NOT allow anything else to display unless a different one is selected.
    On the surface, will take a good bit of php hacking the code - Use the override system where ever possible to maintain your edits intact if and when an upgrade is applied.

  5. #5
    Join Date
    Jun 2008
    Posts
    5
    Plugin Contributions
    0

    Default Re: Modifying the URL string

    I don't know where/what that is. Admin area??

    PS

    don't want you to do my work for me, just point me please

    Thanks for you help.

    Quote Originally Posted by kobra View Post
    On the surface, will take a good bit of php hacking the code - Use the override system where ever possible to maintain your edits intact if and when an upgrade is applied.

  6. #6
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Modifying the URL string

    This is gonna be hacking the code in several files that deal with how php makes these pages and probably adding some "if" or "switch case" logic to restrict to a manufacturer/school

 

 

Similar Threads

  1. v154 Extra string at end of product info url
    By Siem in forum General Questions
    Replies: 3
    Last Post: 14 Sep 2015, 08:28 PM
  2. url string for an individual product?
    By jgold723 in forum General Questions
    Replies: 1
    Last Post: 24 Feb 2012, 03:04 PM
  3. URL ends with a query string
    By lieven23 in forum General Questions
    Replies: 0
    Last Post: 18 Aug 2009, 09:24 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