Zen Cart Logo
Forums / Setting Up Categories, Products, Attributes / Creating a new product option as pull down?

Creating a new product option as pull down?

Locked

Views: 1,373

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
3 Aug 2007, 8:54 AM
#1
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Creating a new product option as pull down?

I am looking for help adding sizes to the product admin. (not an attribute for customers to choose).

When we add a new item, we need to choose a size.

Also, once this is done, we need to figure a way to let the customer choose to shop by size.

Can anyone help me out here?

Thanks,

Matt

5 Aug 2007, 11:46 PM
#2
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Re: Creating a new product option as pull down?

bump this post. still need help with this.

6 Aug 2007, 10:35 PM
#3
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Creating a new product option as pull down?

This requires multiple changes.

First, start with this thread:
http://www.zen-cart.com/forum/showthread.php?t=57924

Add a new property to your general products for size. In 'collect_info.php', I expect you'll want to use a drop-down instead of input fields.

For the search, you'll either need to write a custom search function or modify the advanced search to have a new field for size. I'd personally do both, that way you can have URLs with a GET variable which would list all of a particular size product and if users go to the search page they can search by size there.

BrandTim

7 Aug 2007, 12:31 AM
#4
magneteye avatar

magneteye

Zen Follower

Join Date:
Mar 2007
Location:
Portland, OR
Posts:
163
Plugin Contributions:
0

Re: Creating a new product option as pull down?

hey thanks. Yeah, I already am aware of that thread and have been active on it, but no luck with a pull down. I think it might be the way I am setting up the databse tables.

I don't actually need this sizes to be in the search. All I need is to add links to my main menu that lets users shop by size. So when user clicks on the 'Medium' link all items with that size will come up.

8 Aug 2007, 10:29 PM
#5
brandtim avatar

brandtim

Zen Follower

Join Date:
Apr 2006
Posts:
250
Plugin Contributions:
0

Re: Creating a new product option as pull down?

Umm.... the pull-down and the database tables aren't related. The pull-down is made of HTML.

What are you getting instead of a pull-down?

In terms of the search, in order to have a page that displays products filtered by size, you either need to make your own code to perform that search or modify the search function ... I'd go with the latter as you'd be using very similar code anyway....

BrandTim

16 Aug 2007, 4:59 PM
#6
jimroster avatar

jimroster

New Zenner

Join Date:
Jul 2007
Posts:
7
Plugin Contributions:
0

Re: Creating a new product option as pull down?

brandtim:

For the search, you'll either need to write a custom search function or modify the advanced search to have a new field for size. I'd personally do both, that way you can have URLs with a GET variable which would list all of a particular size product and if users go to the search page they can search by size there.

Where are the mods or details on how to create the custom search function or modifying the Advanced Search function. I would rather modify the aadvanced search function, but nowhere can I find instructions on how to modify the advanced search to include and search through the new product variables.

See **this post **regarding what I am trying to do

See this project for a visual of the new advanced search page I want

Thanks so much in advance for any help you can give........Jim