Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Products Listing Based on Price Range


alihelp

Recommended Posts

Hi,

 

I want help regarding Products Listing Based on Price Range. In my project i have to display catagories list and as well as products price range like:

1. less then $100

2. $100 - 200

3. $200 - 300

4. Above $300.

 

And when i click on any price range like ($100 -200), it will display all products as well as price range will be sub-categoried as,

 

1. $100 - 150

2. $150 - 200

 

I not able descide how to design my table structure.

 

I want to include this feature with osCommerce.

 

Thanks in advance.

Link to comment
Share on other sites

I think this is what you are looking for:

 

Shop by price infobox

 

You can see it in action on my site.

 

 

Dear GraphicsGuy,

 

In your website you have this feature "Shop By Price", http://www.sullisys-ihs.com. But i am looking for different one. You price range link statically defined, i want it be dynamically generated by PHP program. For example, if some one click on a category, it will list all products under that category and also generate a "Shop By Price" for that category like

less than $100 (no. of pruducts in this category)

$100 - 200 (no. of pruducts in this category)

$200 - 300 (no. of pruducts in this category).

 

This price range will be based on category's products.

Link to comment
Share on other sites

I am not aware of any contributions that provide that exact functionality. That contribution, like most everything in osc is dynamically generated. You may be able to adapt the Shop by Price Infobox contrib by adding code to limit the results to the current category.

Edited by GraphicsGuy

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...