Page 1 of 17 12311 ... LastLast
Results 1 to 10 of 169
  1. #1

    Default product filter module addon

    I wrote a sidebox module for product filter by attribute, and price range. I looked all over the places and couldn't find something similar, so ending writing my own. It seems to be working, but only tested using zen-cart v1.37.

    Don't forget to read the README file first. I tried to sumit to zen-cart.org. But the file didn't get submitted (don't know why).

    Anyways, Here's the download page in my blog. Zen Cart Product Filter by Attribute, Price RangeZen Cart Product Filter by Attribute, Price Range. I wish zen-cart can give me a place to host the file. I've already tried to submit to the download page, but it failed to upload.

  2. #2
    Join Date
    Jan 2004
    Posts
    58,283
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Zen cart product filter module

    Quote Originally Posted by jye999 View Post
    I wish zen-cart can give me a place to host the file. I've already tried to submit to the download page, but it failed to upload.
    It uploaded fine:
    http://www.zen-cart.com/index.php?ma...roducts_id=760
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  3. #3
    Join Date
    Jan 2007
    Posts
    83
    Plugin Contributions
    1

    Default Re: Zen cart product filter module

    I have been looking for something like this but found to problems with this mod.

    First is no Images show.

    The second when you put price lowest to highest it gives this out.

    1054 Unknown column 'P.products_price' in 'order clause'
    in:
    [select DISTINCT p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status FROM zen_products p, zen_products_description pd, zen_products_to_categories p2c, zen_products_attributes pa, zen_products_options po , zen_products_options_values pov WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND pa.options_id = 1 AND pa.options_values_id = 26 AND p.products_id = pa.products_id AND p.products_status =1 AND p.products_quantity > 0 ) order by P.products_price ASC, p.products_date_added DESC, p.products_date_available DESC limit 0, 15]

    If these 2 things are corrected it has the makings of a great mod.

  4. #4
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    64,726
    Plugin Contributions
    6

    Default Re: Zen cart product filter module

    The reference P.products_price looks in correct as the alias is p and not P ...

    Perhaps a typo and you need this referencing the products table with p vs P ...
    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: v1.5.1]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...

  5. #5
    Join Date
    Jan 2007
    Posts
    83
    Plugin Contributions
    1

    Default Re: Zen cart product filter module

    Quote Originally Posted by Ajeh View Post
    The reference P.products_price looks in correct as the alias is p and not P ...

    Perhaps a typo and you need this referencing the products table with p vs P ...
    Thanks for that it sounds like it could be the problem, I have not tried it because it is the images or lack of them I really need to sort out.
    Any ideas on that it just gives a page full of no image available boxes.

  6. #6
    Join Date
    May 2007
    Location
    Los Angeles
    Posts
    86
    Plugin Contributions
    0

    Default Re: Zen cart product filter module

    Quote Originally Posted by jye999 View Post
    I wrote a sidebox module for product filter by attribute, and price range. I looked all over the places and couldn't find something similar, so ending writing my own. It seems to be working, but only tested using zen-cart v1.37. ..........
    Thanks! exactly what I was looking for.
    Is there a way to exclude certain attributes?

  7. #7
    Join Date
    Apr 2006
    Location
    Fort Bragg, North Carolina
    Posts
    153
    Plugin Contributions
    0

    Default Re: Zen cart product filter module

    I'm having this same problem:


    1054 Unknown column 'P.products_price' in 'order clause'
    in:
    [select DISTINCT p.products_id, pd.products_name, p.products_price, p.products_tax_class_id, p.products_price_sorter, p.products_qty_box_status FROM zen_products p, zen_products_description pd, zen_products_to_categories p2c, zen_products_attributes pa, zen_products_options po , zen_products_options_values pov WHERE (p.products_status = 1 AND p.products_id = pd.products_id AND pd.language_id = 1 AND p.products_id = p2c.products_id AND pa.options_id = 1 AND pa.options_values_id = 26 AND p.products_id = pa.products_id AND p.products_status =1 AND p.products_quantity > 0 ) order by P.products_price ASC, p.products_date_added DESC, p.products_date_available DESC limit 0, 15]

    It seems that you answered it and corrected the problem but I didn't quite understand how to do so.

    Exactly what do I do with:
    The reference P.products_price looks in correct as the alias is p and not P ...
    Perhaps a typo and you need this referencing the products table with p vs P ...

    Thanks

  8. #8
    Join Date
    Dec 2007
    Posts
    3
    Plugin Contributions
    0

    Default Re: Zen cart product filter module


    I got this module installed - but for some reason when i submit i get this response: TEXT_NO_PRODUCTS

    What do i have not configured correctly? eeek!

  9. #9
    Join Date
    Oct 2006
    Posts
    5,486
    Plugin Contributions
    12

    Default Re: Zen cart product filter module

    People with the P problem:

    Open: includes/modules/pages/product_filter_result/header_php.php
    Find:
    PHP Code:
    case 2:
                
    $order_str " order by P.products_price ASC, p.products_date_added DESC, p.products_date_available DESC "
    Replace by:
    PHP Code:
                $order_str " order by p.products_price ASC, p.products_date_added DESC, p.products_date_available DESC "
    I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

  10. #10
    Join Date
    May 2007
    Location
    Los Angeles
    Posts
    86
    Plugin Contributions
    0

    Default Re: Zen cart product filter module

    I love this mod, but..

    The search results have "No Image Available"!
    I also get "TEXT_NO_PRODUCTS", on some searches. Does anyone have any thoughts?

    Thanks in advance!

 

 
Page 1 of 17 12311 ... LastLast

Similar Threads

  1. Function of Module Manager addon
    By alimtlai in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 21 Jan 2009, 09:37 AM
  2. Paypal Recurring Billing Module installation problems with addon
    By SageSystems in forum Addon Payment Modules
    Replies: 0
    Last Post: 14 Dec 2008, 05:01 AM
  3. Newbie's learning: which module or addon is it?
    By sinobeta in forum General Questions
    Replies: 2
    Last Post: 6 Sep 2008, 10:08 AM
  4. Replies: 0
    Last Post: 31 Aug 2006, 09:15 PM

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
  •