Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36
  1. #21
    Join Date
    Oct 2010
    Posts
    53
    Plugin Contributions
    0

    Default Re: Can specials be sorted?

    That worked BRILLIANTLY .. thank you sooooooo much for that!

    Youre a magic legend!!!!


    Quote Originally Posted by Ajeh View Post
    Also, you have:
    sort_order

    in the WHERE ... if this is from the table:
    products

    that should be:
    p.products_sort_order

    NOTE: the p is not really needed as it is unique but it helps with clarity ...

    NOTE: If you added a new field to the table:
    specials

    for sort order, make sure that you spelled it correctly ...

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

    Default Re: Can specials be sorted?

    Thanks for the update that this is now working ...

    What that suppose to be the products_sort_order or a new sort field in the specials table?
    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. #23
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Can specials be sorted?

    Hi there, I would like to add a filter to the "new products" page to list by a specific model only, so basically what the filter "model" already does, but just to list a specific model type. Which files would I need to edit in order to achieve this?

    Thanks for any help provided!

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

    Default Re: Can specials be sorted?

    You can customize the file:
    /includes/pages/products_new/header_php.php

    and customize the $products_new_query_raw SELECT statement to include any filter that you are wanting ...
    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. #25
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Can specials be sorted?

    Thanks Ajeh!

    So I'd want to then add another statement such as:

    p.products_model=*product model inserted here*

    Or what should add in there to include the specific model?

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

    Default Re: Can specials be sorted?

    That should filter it for a particular model ... test it and see if that does what you are looking for ...
    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!

  7. #27
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Can specials be sorted?

    Okay, it accepts the code, however there is no extra menu item added, just the default ones are listed. Is there a file I should edit in order to add another menu item to the drop down?

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

    Default Re: Can specials be sorted?

    You might try working your way through the template file tpl_products_new_default.php and see what all files are used for that page and for building the dropdown ...

    It may take quite a bit of work to add on additional things, as the dropdown is shared by other files ...

    What are you trying to add to the dropdown list?
    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!

  9. #29
    Join Date
    Aug 2004
    Posts
    112
    Plugin Contributions
    0

    Default Re: Can specials be sorted?

    Well currently the default drop down menu has a few ways to filter the new products, I would like to add a custom filter a customer can click to filter all products with a specific model number, so basically add an extra filter statement to list products such as this (if it could work like this):

    p.products_model='MODEL-01'
    and
    p.products_model='MODEL-02'

    and so forth.
    I have a lot of products added with the same model number and want those to be filtered and listed without a customer having to go through pages and pages of new products which is not of interest for them. I want them to be able to click on the drop down and be able to list all products with a model number of "model-01 or model-02 or model-03" and not have all the models of all the new products be listed together if you understand what I mean.

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

    Default Re: Can specials be sorted?

    Does the Model list need to be a dropdown or can it just be an input field for the customer to type in the model that they want to filter for?
    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!

 

 
Page 3 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. Can not access customer information in admin when sorted
    By ErinBeth80 in forum General Questions
    Replies: 2
    Last Post: 4 Aug 2011, 07:12 PM
  2. Can't insert specials
    By mikelouw in forum General Questions
    Replies: 2
    Last Post: 15 Dec 2009, 10:01 AM
  3. Can I ad a restriction on a discount voucher so it can't be used on specials?
    By annav in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 28 Aug 2009, 08:45 AM
  4. a sorted list?
    By scooter in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 28 Dec 2008, 11:37 PM
  5. product sorted by customer id
    By joegimeno in forum Setting Up Categories, Products, Attributes
    Replies: 0
    Last Post: 4 Nov 2006, 08:53 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