Forums / Setting Up Categories, Products, Attributes / Here's My Product Type Walk through

Here's My Product Type Walk through

Locked

Views: 1,865

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
6 Nov 2008, 5:32 AM
#1
jonbyrd avatar

jonbyrd

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Here's My Product Type Walk through

Hey guys, I'm new to Zen-Cart and I couldn't find any real good documentation for the custom product type development, so I built my own.

Sorry for the long link, but it's cms, anyhow, here you go guys. I'm not completely finished with this just yet, but I should be by saturday.

If anybody can help point me in the right direction to where I've left off, that would save me A LOT of time. Thanx guys

Product Type Development Documentation
http://support.smallbusinesspages.org/documentation-categories/zen-cart-custom-product-types.html

6 Nov 2008, 5:34 AM
#2
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Here's My Product Type Walk through

Very detailed, ^_^. You should contact one of the devs to get access to zen wiki and put this whole article there.

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

17 Nov 2008, 8:10 PM
#3
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Here's My Product Type Walk through

I am having issues with copy-to-confirm, so I'm waiting breathlessly for chapter 9 :D

17 Nov 2008, 9:30 PM
#4
rwoody avatar

rwoody

Totally Zenned

Join Date:
Aug 2004
Location:
Fountain Hills, AZ
Posts:
476
Plugin Contributions:
0

Re: Here's My Product Type Walk through

Found my error.. I'm good to go now; however the documentation you put together look really great and will help others new to this process which can seem daunting at times.

:clap:

23 Nov 2008, 7:49 PM
#5
jonbyrd avatar

jonbyrd

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Here's My Product Type Walk through

I greatly apologize that I haven't been able to get back to this project in a while. I haven't added the next section about how to add new product fields to each of the product types.

I actually got stuck myself on the code that it requires in to add new product fields to the DB. So I'm working on developing a chunk of code right now that will check to see if the fields have already been added to the DB and if not create the fields.

But I've just been swamped with business lately. I apologize again guys, if anybody can assist me with this chunk of code I'll get started on finishing the documentation.

29 Nov 2008, 7:41 AM
#6
jonbyrd avatar

jonbyrd

New Zenner

Join Date:
Nov 2008
Posts:
4
Plugin Contributions:
0

Re: Here's My Product Type Walk through

I'm even willing to pay somebody $50 bucks if they can provide me with a chunk of code to do this. I'll check back often, just post the code here and I will test it out. If it works I'll pm you for your paypal email. Just so we are clear on the requirements, hrere you go.

------------Project Requirements --------------------------------
The problem: The fields and variables that area created for the admin - create new product page are posted to the preview page as hidden input fields. Upon accepting this preview page the fields are posted to the next page described in my documentation.

This next page requires some PHP to manage the following:

  1. Read in the the fields and locate the custom variables and their values.

  2. Check the product type DB for these new fields and if not exists then create them.

  3. If exists then add the value.

  4. This page manages the add, update and delete and therefore the php should also be capable of managin gthese features.

Thanks for the help guys!