Adding New Product_types

Sticky

Views: 161,404

Results 61 to 80 of 154
4 Dec 2005, 8:11 PM
#61
thunderbird avatar

thunderbird

New Zenner

Join Date:
Sep 2005
Posts:
38
Plugin Contributions:
0

Adding New Product_types

Any clue on how to get the HTML editor up and running with a new product type?

Thanks

16 Feb 2006, 12:33 AM
#62
westin avatar

westin

New Zenner

Join Date:
Feb 2006
Posts:
12
Plugin Contributions:
0

Re: Adding New Product_types

I want to add a scheduling system to Zen Cart so that people can schedule appointments for services and pay for them. Where are the appropriate places to start adding the commands that would interact with the database on checkout, when payment has been received, etc.? Is this related to product types at all? The more I think about it, the more I'm thinking I probably just have to edit the pages involved in the checkout process, and add attributes to all of the products I want to be able to schedule to allow for user input on the dates and times they want, or something like that.

Any guidance would be appreciated.

Thanks,

Greg

http://www.gregwestin.com

16 Feb 2006, 6:20 PM
#63
p1faw avatar

p1faw

New Zenner

Join Date:
Nov 2005
Posts:
10
Plugin Contributions:
0

Re: Adding New Product_types

:rolleyes: I have just written a new product type and would like to post it, but i dont know how? can you help. :rolleyes:

16 Feb 2006, 7:18 PM
#64
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,684
Plugin Contributions:
0

Re: Adding New Product_types

A link for a demonstration? You can upload a .zip to your webspace or send the .zip to me at kim @ zen-cart.com

Please do not PM for support issues: a private solution doesn't benefit the community.

Be careful with unsolicited advice via email or PM - Make sure the person you are talking to is a reliable source.

2 Mar 2006, 3:45 PM
#65
figster avatar

figster

New Zenner

Join Date:
Feb 2006
Posts:
85
Plugin Contributions:
0

Re: Adding New Product_types

Hi all you great thinkers!
I want to add a new prouct type called accessories, I do not want these products to show in my catalog, I only want to use this new product type in conjuction with the cross sell contribution, so that the only way a customer can purchase this item is as an add on. i.e. If they purchase a dress, they have an option of selecting matching hose.. 2-3 types...
Any suggestions on where to start to do this????

Thanks,
Figster

2 Mar 2006, 4:14 PM
#66
sunsetonline avatar

sunsetonline

Zen Follower

Join Date:
May 2004
Location:
Lubbock, TX
Posts:
171
Plugin Contributions:
0

Re: Adding New Product_types

Hmm, not sure how this would be done as a separate product and product type, but one way to do it (which might be easier overall) is just to use attributes on the original product (e.g., the dress). On the dress product page, have options for the hose (e.g., type1, type2, type3, or none). The appropriate price will be tacked on (you can configure this all in the admin), and it is a sure way to require purchase of the dress to get the hose. The only downside might be that the hose will not have their own inventory tracking or SKUs (they wouldn't appear as a separate item on the order, but just an option under the dress).

8 Mar 2006, 8:02 PM
#67
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: Adding New Product_types

In my quest to learn the subject of adding new product types, I've created a duplicate of Product - General. Essentially I have copied and renamed the various files (for both admin & catalog). So all the files for my new product type are copies of those for Product - General with a unique name for respective directories, files, handler.

Everything seems to work fine except my 'Edit Layout' settings for the new product type. This is still being controlled by Product - General settings on the front-end catalog. I've spent quite a bit of time trying to track down the link to the product_type_layout table without success. Could someone point me in the right direction please?

8 Mar 2006, 8:31 PM
#68
p1faw avatar

p1faw

New Zenner

Join Date:
Nov 2005
Posts:
10
Plugin Contributions:
0

Re: Adding New Product_types

Product type seams to mean a new layout of the product information. I.e. isolate it from the general layout. This is useful if you want: say big picture at the top of you product info page and also the attributes to show in a different style, etc.

I have already sorted all that and in a few days I will give a link to who is interested some options.

In the meantime I would like to known how to get a variable from the tpl_prducts_????????_info_display.php to the cart so I can get the variable onto the order form.

Thanks Peter

PS
Don’t forget you need to upload a SQL file to the database for your product type to work!
PPS
You need to upload all that is in the general products, if you want all the attributes content and bits.

8 Mar 2006, 8:45 PM
#69
p1faw avatar

p1faw

New Zenner

Join Date:
Nov 2005
Posts:
10
Plugin Contributions:
0

Re: Adding New Product_types

Excuse me please

Get & Post please explain?

The PHP & HTML manuals give little or no explanation as if it is nothing, but it seems to be a big thing?

Please expand I am learning.

Regards

Peter

8 Mar 2006, 8:52 PM
#70
sunsetonline avatar

sunsetonline

Zen Follower

Join Date:
May 2004
Location:
Lubbock, TX
Posts:
171
Plugin Contributions:
0

Re: Adding New Product_types

I'm no expert, but here's the best explanation I have.

GET and POST are both methods of passing information from one page (usually a form) to another. They differ in how they do it.

GET does it by including the information in the URL itself. When you see URLS with "?" and "&" in them, those are usually GET variables being passed.

POST does it in a less visible way, by somehow including them in the actual HTTP request or something. They get sent "under the radar" and are invisible to the user (at least, they are not in the URL). Because of this, POST is usually preferred since it's a little more private/secure.

8 Mar 2006, 9:01 PM
#71
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: Adding New Product_types

p1faw:

Product type seams to mean a new layout of the product information. I.e. isolate it from the general layout. This is useful if you want: say big picture at the top of you product info page and also the attributes to show in a different style, etc.
Peter,

Are you replying to my posted question? :huh:

I understand what Product Types are and do. At the moment, I just am having an issue figuring how they are relating back to the product_type_layout table. ;)

8 Mar 2006, 10:05 PM
#72
borzoid avatar

borzoid

Totally Zenned

Join Date:
Feb 2004
Location:
Michigan
Posts:
589
Plugin Contributions:
1

Re: Adding New Product_types

I've recently been working on product types. The product type layout table allows you to switch different things on and off and to some degree move things around differently depending on product_type being used.

For example you can have show the model number on product_general but turn it off in product_video and those settings are stored in the product type layout table. The key that relates this to your products is the product_type_id. There are other tables which tie the product_type_id to the categories and the products to the categories.

Connie

Connie Taylor

8 Mar 2006, 11:49 PM
#73
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: Adding New Product_types

Thanks for the reply Connie. My problem is that I can't find where (or how) the query is being made for each product type, that determines which product type layout to use. (i.e which file or function is making the determination to use the layout for Product - General, Document - General, etc...) :blink:

9 Mar 2006, 3:15 PM
#74
lib99 avatar

lib99

Totally Zenned

Join Date:
Dec 2004
Location:
New York, USA
Posts:
965
Plugin Contributions:
0

Re: Adding New Product_types

Ok, to answer my own question...There is no link that utilizes product_type_id as I originally thought, and Connie also suggested.

My problem was in the tpl_product_[handler name]_info_display.php file that I created.

All the SHOW_PRODUCT_INFO_ ...'s needed to be changed to SHOW_PRODUCT_[handler name]INFO ...'s to properly relate to my separate set of table.product_type_layout values reside.

Problem solved.

9 Mar 2006, 4:34 PM
#75
figster avatar

figster

New Zenner

Join Date:
Feb 2006
Posts:
85
Plugin Contributions:
0

Re: Adding New Product_types

huh?

1 Sep 2006, 1:30 PM
#76
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Adding New Product_types

Greetings all:

I was wondering now that many of us have made our own Products, has anyone been able to update the search to include the new Product types.

For example i have a value called "Category" , in this category we have listing like anal, lesbians, etc...

Is there a way to update the Search so when i type in Lesbian it will search for the "keyword" in the value "Category" ?

7 Sep 2006, 1:08 PM
#77
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Adding New Product_types

No reply in just under a week, so i will start a new topic, see if we can help that way...

14 Sep 2006, 8:21 AM
#78
xyon avatar

xyon

New Zenner

Join Date:
Nov 2005
Location:
Oxford UK
Posts:
16
Plugin Contributions:
0

Re: Adding New Product_types

Have just added a new product type based on document general and all OK. Does anyone know what the type_master_type in the db 'table product types' signifies? I've left it at 3 same as the document general but wonder if as I'm creating a new type totally whether I can make it unique.

14 Sep 2006, 10:53 AM
#79
darkwander avatar

darkwander

Zen Follower

Join Date:
May 2005
Location:
Australia
Posts:
321
Plugin Contributions:
0

Re: Adding New Product_types

Xyon:

Have just added a new product type based on document general and all OK. Does anyone know what the type_master_type in the db 'table product types' signifies? I've left it at 3 same as the document general but wonder if as I'm creating a new type totally whether I can make it unique.

I found it alot easier to download the book model and converting it to what you want, some reason i didnt have much luck changing the standard Document and Product models.

19 Sep 2006, 2:44 PM
#80
dhermanus avatar

dhermanus

New Zenner

Join Date:
Sep 2006
Location:
Sydney, Australia
Posts:
44
Plugin Contributions:
0

Re: Adding New Product_types

Hi, is there any add-ons where we can customize a product catagory to default to a customized product type.

Thanks,
D