osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Attribute Product Codes V1.0

This is a discussion on Attribute Product Codes V1.0 within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; Written by Fred Doherty (aka Rochdalemark) with a large chunk of help from Richard Lindsey (aka Velveeta) This is the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 02-15-2007, 09:50 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,992
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Attribute Product Codes V1.0

Written by Fred Doherty (aka Rochdalemark) with a large chunk of help from Richard Lindsey (aka Velveeta)

This is the instruction file for Attribute Product Codes. v1.0

This contribution will allow you to add codes to each product attribute based on a per item only basis. This is so that if you have 2 suppliers having different codes for say a colour red attribute you can have a different code for each.
The attribute product code will be used as a suffix to the base product code.
i.e
Say you sold Apples.

The code for your standard Apple is AP1
But you had a choice of colours and sizes for those apples, you can now have the following codes generated for each.
Green Apple: AP1/G
or
Red Apple: AP1/R
or
Apple Large: AP1/L
or
Apple Large Red: AP1/L-R

As you can see the base product code stayes the same but with the seperate atribute code added as a suffix to the end.
This each attribute product code can be given a sort value, so that your code is in the right order.
For example
Your code for a Large Red Apple: AP1/L-R could mean a completely different product if it was the other way round like AP1/R-L. This way there is no mistakes in the way the codes are generated when multiple attributes are selected.

Forum for this contribution is at:
http://forums.oscommerce.com/index.php?showtopic=251032

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Products listed in order Using the Product Codes Milmod osCommerce 2.2 Modification Help 0 05-31-2005 06:40 PM
Set Product Codes to run in order Milmod osCommerce 2.2 Installation Help 2 03-29-2005 01:31 PM
product attribute help please BHenderson osCMax v1.7 Discussion 1 02-01-2005 11:24 AM
product attribute question groggory osCMax v1.7 Discussion 5 12-23-2004 11:23 AM
Product attribute - too many of them, how to handle? jc2002 osCMax v1.7 Discussion 1 12-18-2004 10:50 PM


All times are GMT -8. The time now is 08:53 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax