[interchange-cvs] interchange - heins modified dist/foundation/products/mv_metadata.asc

interchange-core@interchange.redhat.com interchange-core@interchange.redhat.com
Tue Feb 5 00:41:00 2002


User:      heins
Date:      2002-02-05 05:40:03 GMT
Modified:  dist/foundation/products mv_metadata.asc
Log:
	* Metadata update for item_editor and new widgets.

Revision  Changes    Path
2.6       +32 -31    interchange/dist/foundation/products/mv_metadata.asc


rev 2.6, prev_rev 2.5
Index: mv_metadata.asc
===================================================================
RCS file: /anon_cvs/repository/interchange/dist/foundation/products/mv_metadata.asc,v
retrieving revision 2.5
retrieving revision 2.6
diff -u -r2.5 -r2.6
--- mv_metadata.asc	10 Oct 2001 03:33:55 -0000	2.5
+++ mv_metadata.asc	5 Feb 2002 05:40:02 -0000	2.6
@@ -1,11 +1,13 @@
 code	type	width	height	field	db	name	outboard	options	attribute	label	help	lookup	filter	help_url	pre_filter	lookup_exclude	prepend	append	display_filter	extended
 2ndDayAir			200			Air Shipping Rates													1
+Ground			200			Ground Shipping Rates													1
+NextDayAir			200			Air Shipping Rates													1
 access																			1
 access::super	select							0=No, 1=Yes											
+affiliate	text		25	affiliate,name,url,active		Affiliates Data													
 affiliate::affiliate	text	12								Affiliate ID			word						
 affiliate::join_date	date									Join date									
 affiliate::name	text	50								Affiliate Name									
-affiliate	text		25	affiliate,name,url,active		Affiliates Data													
 affiliate::timeout	text	8								Timeout delay	(in seconds, 0 to disable)								
 affiliate::url	text	70								URL	Default URL to redirect to								
 area				code
name
which_page
url
search
page
selector		Category Groups/Placement													
@@ -14,12 +16,12 @@
 area::link_template	textarea	30	4					none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search											
 area::link_type	select							none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search											
 banner						Banner ads		code
category
weight
rotate
banner											
+cat	text			code
name
page
selector
url		Categories													
 cat::area	multiple		5		area							code							
 cat::display_type	select							name=Banner Text or Name,url=URL only,icon=Icon and name, image=Image											
 cat::link_template	textarea	30	4					none=No link,
 external=External link (http://...),
 internal=Interchange page,
 simple=Simple search,
 complex=Complex search											
 cat::link_type	select							none=No link, external=External link (http://...), internal=Interchange page, simple=Simple search, complex=Complex search											
 cat::search	textarea	50	4																
-cat	text			code
name
page
selector
url		Categories													
 country			200	code
name(40)
shipmodes
tax		Int'l Shipping/Taxing Settings		code
name

=Shipping/Taxing

shipmodes
tax

=Sort/Display
region
sorder

=Extended information

iso
isonum												
 country::code	text	5								Country Code	Two-letter code							
 country::iso	text	5								ISO Country code	Not normally used by Interchange; some credit card companies require this. A three letter code.							
@@ -47,7 +49,6 @@
 dbconfig::mv_metadata::outboard	multiple		8					NONE,
Qty price;pricing:q5:rn=Qty price,
Options;options:o_enable:r=Options,
Up-sell;merchandising:upsell_to:r=Up-sell,
Cross-sell;merchandising:cross_sell:r=Cross-sell,
Promo;merchandising:featured:r=Promo,
Inventory;inventory:quantity:rn=Inventory		Special display	These are extra links for the item editor -- various merchandising, inventory, and pricing links.		null_to_comma						
 dbconfig::mv_metadata::type	select							=No,
1=Yes		Display with meta (spreadsheet)			filesafe						
 dbconfig::mv_metadata::width	text	4								Default spreadsheet column width			digits						
-Ground			200			Ground Shipping Rates													1
 ichelp::helptext	textarea	72	15							Help Text									
 icmenu	1	12	50	code
mgroup
msort
next_line
page
name(30)
inactive
		Interchange menus			code
mgroup
msort
next_line
depends_on
page
name
inactive										
 icmenu::inactive	yesno																		
@@ -57,8 +58,9 @@
 inventory::quantity	text	8								On hand									
 inventory::sku	text	16								SKU									
 inventory::stock_message	select							In stock,
 Ships in 3-5 days,
 Ships in 4-6 weeks,
 Special order		Out of stock message		stock_message							
-matrix_options::options								code
sku

=Option information

o_group
o_label
o_value
											
+item_select::products			50			Item Editor														{'ui_show_fields' => "sku
description
prod_group
category
price(%.2f align=right)",'ui_sort_field' => "description",'ui_special_add' => "Qty price;pricing:q5:rn,Options;options:o_enable:r,Promo;merchandising:featured:r,Inventory;inventory:quantity:rn",}
 matrix::options::price	text	12								Price			digits_dot						
+matrix_options::options								code
sku

=Option information

o_group
o_label
o_value
											
 merchandising::banner_image	text									Banner image	if appropriate								
 merchandising::banner_text	text									Banner text	for use where appropriate.								
 merchandising::blurb_begin	text									Teaser	catch line for feature display								
@@ -80,33 +82,33 @@
 metaconfig::mv_metadata::height	text	4								Height	SIZE for SELECT<BR>
ROWS for TEXTAREA<BR>		digits						
 metaconfig::mv_metadata::help	textarea	70	4							Help	This help text.		textarea_get		textarea_put				
 metaconfig::mv_metadata::help_url	text	70	4							Help URL	A URL which will provide more help								
-metaconfig::mv_metadata::lookup_exclude	text	20								Lookup exclude	<B>ADVANCED</B>: regular expression that excludes certain keys from the lookup.								
 metaconfig::mv_metadata::lookup	text	20								Lookup select	<SMALL>Whether lookup is performed to get options for a select type.
If nothing is in the <B>field</B>, then used as the name of the field to lookup
in. Use <B>Lookup Table</B> if you want to look up in a different table.</SMALL>								
+metaconfig::mv_metadata::lookup_exclude	text	20								Lookup exclude	<B>ADVANCED</B>: regular expression that excludes certain keys from the lookup.								
 metaconfig::mv_metadata::name	text	20								Variable name	Normally left empty, changes variable name to send in form.								
 metaconfig::mv_metadata::options	textarea	20	8							Options	Options for SELECT/COMBO types (if lookup, prepended). Entered in the
interchange option format:<P>
<blockquote>
value=label*</blockquote>		option_format						
 metaconfig::mv_metadata::outboard	text	30								Directory	Select directory for image listing widget.								
 metaconfig::mv_metadata::prepend	textarea	60	5							Prepend HTML	<SMALL>HTML to be prepended to the widget.
Will substitute in the macros _UI_TABLE_, _UI_COLUMN_,
_UI_KEY, and _UI_VALUE_, and will resolve relative links
with absolute links.</SMALL>								
-metaconfig::mv_metadata::type	select							textarea=Textarea,

text=Text entry*,
select=Select box,
yesno=Yes/No (Yes=1),
noyes=No/Yes (No=1),
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box, 
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
imagehelper=Image upload,
date=Date selector,
value=Value,
option_format=Option formatter,
show=Show all options		Widget type	Select the basic display type for the field.								
+metaconfig::mv_metadata::type	select							textarea=Textarea,

text=Text entry*,
select=Select box,
yesno=Yes/No (Yes=1),
noyes=No/Yes (No=1),
yesno radio=Yes/No (radio),
noyes radio=No/Yes (radio),
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box, 
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
imagehelper=Image upload,
date=Date selector,
value=Value,
option_format=Option formatter,
show=Show all options		Widget type	Select the basic display type for the field.									
 metaconfig::mv_metadata::width	text	4								Width	SIZE for TEXT<BR>
COLS for TEXTAREA<BR>
Label limit for SELECT		digits						
-modular_create::options				code
o_master
sku
o_group
description(30)
price				code
o_master
sku
o_group
phantom
o_default

=Attributes

price
description
											
-modular_create::options::code	text	20								code	will be auto-assigned if left blank								 
-modular_create::options::description	text	30	3							Option description									
-modular_create::options::o_default	select							=No,
1=Yes		Default?	Whether a/the default selection for this group.								
-modular_create::options::o_enable	select							=No,
1=Yes		Sub-items									
-modular::options::o_group	combo	5			options					Option group	Scanned to see if it applies (or doesn't apply) to this product.	o_group	nullselect						
-modular::options::o_master	select				options			=none		Master item	Always included when the base SKU is equal to this.	sku							
-modular_create::options::phantom	select							=No,
1=Yes		Phantom?	Whether a phantom for structuring								
-modular_create::options::price	text	12								Price	Price of this option.								
-modular_create::options::sku	text	20									Unique SKU								
+modular::options	text		20	code
o_master
sku
o_enable	options	Modular option view		code
o_master
sku
o_group
phantom
o_default
o_enable

=Ordering information

description
price
differential											
 modular::options::differential	text	12								Price offset	Adjustment to option price when phantom. A positive or negative
number.								
 modular::options::o_default	select							=No,
1=Yes		Default?	Yes if the default selection for the group.								
 modular::options::o_enable	select							=No,
1=Yes		Follow?	Enable for next level								
 modular::options::o_group	combo	5			options					Option group	Scanned to see if it applies (or doesn't apply) to this product.	o_group	nullselect						
+modular::options::o_group	combo	5			options					Option group	Scanned to see if it applies (or doesn't apply) to this product.	o_group	nullselect						
+modular::options::o_master	select				options			=none		Master item	Always included when the base SKU is equal to this.	sku							
 modular::options::o_master	select				options			=none		Master item	Always included when the base SKU is equal to this.	sku							
 modular::options::phantom	select							=No,
1=Yes		Phantom?	If yes, this item is just a placeholder for modular options.								
 modular::options::price	text	12								Price	Price of option								
 modular::options::sku	text	20																	
-modular::options	text		20	code
o_master
sku
o_enable	options	Modular option view		code
o_master
sku
o_group
phantom
o_default
o_enable

=Ordering information

description
price
differential											
+modular_create::options				code
o_master
sku
o_group
description(30)
price				code
o_master
sku
o_group
phantom
o_default

=Attributes

price
description
											
+modular_create::options::code	text	20								code	will be auto-assigned if left blank								 
+modular_create::options::description	text	30	3							Option description									
+modular_create::options::o_default	select							=No,
1=Yes		Default?	Whether a/the default selection for this group.								
+modular_create::options::o_enable	select							=No,
1=Yes		Sub-items									
+modular_create::options::phantom	select							=No,
1=Yes		Phantom?	Whether a phantom for structuring								
+modular_create::options::price	text	12								Price	Price of this option.								
+modular_create::options::sku	text	20									Unique SKU								
 mv_metadata			200	code
type
options															1
 mv_metadata::append	textarea	60	5							Append HTML	<SMALL>HTML to be appended to the widget.
Will substitute in the macros _UI_TABLE_, _UI_COLUMN_,
_UI_KEY, and _UI_VALUE_, and will resolve relative links
with absolute links.</SMALL>								
 mv_metadata::attribute	text	20								Column name	Do not set this.								
@@ -117,15 +119,14 @@
 mv_metadata::height	text	4								Height	SIZE for SELECT<BR>
ROWS for TEXTAREA<BR>		digits						
 mv_metadata::help	textarea	70	4							Help	This help text.		textarea_get		textarea_put				
 mv_metadata::help_url	text	70	4							Help URL	A URL which will provide more help								
-mv_metadata::lookup_exclude	text	20								Lookup exclude	<B>ADVANCED</B>: regular expression that excludes certain keys from the lookup.								
 mv_metadata::lookup	text	20								Lookup select	<SMALL>Whether lookup is performed to get options for a select type.
If nothing is in the <B>field</B>, then used as the name of the field to lookup
in. Use <B>Lookup Table</B> if you want to look up in a different table.</SMALL>								
+mv_metadata::lookup_exclude	text	20								Lookup exclude	<B>ADVANCED</B>: regular expression that excludes certain keys from the lookup.								
 mv_metadata::name	text	20								Variable name	Normally left empty, changes variable name to send in form.								
 mv_metadata::options	textarea	20	8							Options	Options for SELECT/COMBO types (if lookup, prepended). Entered in the
interchange option format:<P>
<blockquote>
value=label*</blockquote>		option_format						
 mv_metadata::outboard	text	30								Directory	Select directory for image listing widget.								
 mv_metadata::prepend	textarea	60	5							Prepend HTML	<SMALL>HTML to be prepended to the widget.
Will substitute in the macros _UI_TABLE_, _UI_COLUMN_,
_UI_KEY, and _UI_VALUE_, and will resolve relative links
with absolute links.</SMALL>								
-mv_metadata::type	select							textarea=Textarea,

text=Text entry*,
,
select=Select box,
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box, 
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
date=Date selector,
value=Value,
option_format=Option format,
show=Show all options		Widget type	Select the basic display type for the field.								
+mv_metadata::type	select							textarea=Textarea,

text=Text entry*,
select=Select box,
yesno=Yes/No (Yes=1),
noyes=No/Yes (No=1),
yesno radio=Yes/No (radio),
noyes radio=No/Yes (radio),
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box, 
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
imagehelper=Image upload,
date=Date selector,
value=Value,
option_format=Option formatter,
show=Show all options		Widget type	Select the basic display type for the field.									
 mv_metadata::width	text	4								Width	SIZE for TEXT<BR>
COLS for TEXTAREA<BR>
Label limit for SELECT		digits						
-NextDayAir			200			Air Shipping Rates													1
 optadd::mv_metadata::options	textarea	20	8							Options	Options in the format:<P>
<blockquote>
value=label*</blockquote>
		option_format						
 options				code
sku
o_group
o_master
description(30)
price		Product Options													
 options::code	text	10																	
@@ -138,7 +139,7 @@
 options::o_matrix	select							=Non-matrix,!=Matrix options		Matrix options	Matrix options allow you to maintain multiple option sets with
inventory on each combination.								
 options::o_modular	select							=Not modular,Modular options		Modular options	Modular options allow you to attach multiple SKUs to the same item,
possibly with attached options of their own. Very complex but you can do
most anything.								
 options::o_value	option_format	20	5							Possible Values	In Interchange option format:&lt;PRE>
  VALUE1=Label 1,
  VALUE2=Label 2*
&lt;/PRE>(* = default selection)		option_format						
-options::o_widget	select							textarea=Textarea,
text=Text entry,
select=Select box*,
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box,
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
date=Date selector,
value=Value,
show=Show all options,
		Widget type	Select the basic display type for the field.								
+options::o_widget	select							textarea=Textarea,

text=Text entry*,
select=Select box,
yesno=Yes/No (Yes=1),
noyes=No/Yes (No=1),
yesno radio=Yes/No (radio),
noyes radio=No/Yes (radio),
multiple=Multiple Select,
combo=Combo Select,
reverse_combo=Reverse Combo,
move_combo=Combo move,
display=Text of option,
hidden_text=Hidden (show text),
radio=Radio box, 
radio_nbsp=Radio (nbsp),
checkbox=Checkbox,
check_nbsp=Checkbox (nbsp),
imagedir=Image listing,
imagehelper=Image upload,
date=Date selector,
value=Value,
option_format=Option formatter,
show=Show all options		Widget type	Select the basic display type for the field.									
 options::o_width	text	4																	
 options::price	text	12								Price	Price data, either option=N.NN or
a number, depending on matrix settings.								
 options::sku	text	20								Associated item									
@@ -151,14 +152,15 @@
 optmaster::options::o_matrix	select							=Non-matrix,1=Matrix options		Matrix?									
 optmaster::options::o_modular	select							=Not modular,1=Modular options		Modular options?									
 optmaster::options::o_simple	select							=No,1=Yes		Enable options	Whether any options processing is done								
-orderline::status	combo							pending=Pending, shipped=Shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
-orderline	text			code,sku,description,price, quantity,subtotal															1
 order_returns::username	text									Username									
 order_view::orderline::status	display							pending=Pending, shipped=Shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
 order_view::transactions::status	display							pending=Pending, shipped=Shipped, partial=Partially shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
+orderline	text			code,sku,description,price, quantity,subtotal															1
+orderline::status	combo							pending=Pending, shipped=Shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
+pricing	text					Pricing Settings	2												
 pricing::price_group	combo				pricing					Discount group		price_group	nullselect						
 pricing::q3	text																		
-pricing	text					Pricing Settings	2												
+products	text		50	sku
description(30)
prod_group
category
price(%.2f align=right)		Product information	Qty price;pricing:q5:rn,Options;options:o_enable:r,Promo;merchandising:featured:r,Inventory;inventory:quantity:rn	sku
description
prod_group
category

=Pricing

price
wholesale

=Information/Images

image
thumb
comment
weight
gift_cert
nontaxable											
 products::artist	text	30								Artist									
 products::category	combo	20	1		products					Category	Enter in box for new category.	category	nullselect		nullselect				
 products::color	textarea	70	2																
@@ -174,7 +176,6 @@
 products::sale_price	text	12								Sale Price									
 products::size__MVC_FIELDMUNGE__	textarea	70	2																
 products::sku	text									SKU									
-products	text		50	sku
description(30)
prod_group
category
price(%.2f align=right)		Product information	Qty price;pricing:q5:rn,Options;options:o_enable:r,Promo;merchandising:featured:r,Inventory;inventory:quantity:rn	sku
description
prod_group
category

=Pricing

price
wholesale

=Information/Images

image
thumb
comment
weight
gift_cert
nontaxable											
 products::thumb	imagehelper	30					images/thumb			Thumb			nullselect				__MVC_SAMPLEURL__	<A HREF="admin/upload_file?ui_image_preview=__MVC_IMAGEURL__/thumb/_UI_VALUE_&ui_upload_binary=1&ui_upload_backup=0&mv_arg=images/thumb/_UI_VALUE_&ui_start_dir=items&ui_return_to=admin/item_edit&ui_return_to=item_id=_UI_KEY_&ui_preload=_UI_TABLE_:_UI_COLUMN_">upload...</A>	
 products::title	text	30								Title			namecase						
 products::weight	text	4								Weight in pounds			digits_dot						
@@ -182,8 +183,9 @@
 shipping	text			description															
 state				code
country
state
name
tax
tax_name		State/Province Settings (tax, etc)													
 state::state	text	4											word						
-transactions::status	combo							pending=Pending, shipped=Shipped, partial=Partially shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
 transactions	text																		1
+transactions::status	combo							pending=Pending, shipped=Shipped, partial=Partially shipped, backorder=Back ordered, credit=Waiting for credit check, canceled=Canceled					nullselect						
+userdb	text			username,company,lname,fname		Users													
 userdb::address1	text	40								Address									
 userdb::address2	text	40								&nbsp;									
 userdb::b_address1	text	40								Billing Address									
@@ -201,8 +203,8 @@
 userdb::company	text	40								Company									
 userdb::country	text	10								Country									
 userdb::dealer	radio_nbsp							=No,1=Yes		Dealer									
-userdb::email_copy	select							=No, 1=Yes											
 userdb::email	text	40								Email Address									
+userdb::email_copy	select							=No, 1=Yes											
 userdb::fax_order	select							=Credit Card*, 1=Fax or Mail, 2=Purchase order, 3=COD		Payment method									
 userdb::feedback	textarea	70	8																
 userdb::fname	text	30								First Name									
@@ -214,12 +216,9 @@
 userdb::price_level	select							=Retail,dealer=Dealer,distributor=Distributor		Price level									
 userdb::state	text	10								State									
 userdb::subject	text									Subject									
-userdb	text			username,company,lname,fname		Users													
 userdb::username	hidden_text	16								Username			no_white						
 userdb::zip	text	10								Postcode			uc word						
 variable																			1
-variable::code	text									Variable name									
-variable::pref_group	combo	20								Preferences area		pref_group	nullselect						
 variable::Variable::ADDRESS	text									Company Address									
 variable::Variable::CATALOG_STATIC	select							No, Yes		Enabled for users?	<b>Yes</b> will cause Interchange to generate static links where possible.<BR><BR>
<b>No</b> disables generation of static links for users; you can still send a search engine to the statically generated URL and it will spider the static links on the page.								
 variable::Variable::CGI_URL	text									CGI URL	URL that calls Interchange, without the server name								
@@ -229,8 +228,8 @@
 variable::Variable::DOCROOT	text									Document root	This is the directory where your HTML originates. It should match the DocumentRoot
of your HTTP server.			http://www.apache.org/docs/mod/core.html#documentroot					
 variable::Variable::MULTIORDER	select							=No,1=Yes			Whether users should by default have multipage order forms.								
 variable::Variable::MYSQL	select							0=No, 1=Yes											
-variable::Variable::PO_ACCEPTED	select							0=No, 1=Yes											
 variable::Variable::POSTAL_ACCEPTED	select							=No,
1=Yes		Accept postal orders?									
+variable::Variable::PO_ACCEPTED	select							0=No, 1=Yes											
 variable::Variable::SECURE_ENABLE	yesno									Enable Secure URL?									
 variable::Variable::STATIC_LOGGED	select							No, Yes		Enabled for logged in users?	<b>Yes</b> will cause Interchange to generate static links where possible, even when users are logged in.								
 variable::Variable::STYLE	select							foundation=Foundation		Theme									
@@ -238,6 +237,8 @@
 variable::Variable::UI_ITEM_EXPUNGE	text	60								Item expunge tables	The tables that should have the SKU removed when you DELETE ITEM from the items menu.								
 variable::Variable::UI_META_LINK	select							0=No, 1=Yes		Meta edit links	Determines whether enabled by default. They can be turned on in Preferences.								
 variable::Variable::UI_SECURE	yesno										Determines whether to force UI into secure mode or not.								
+variable::code	text									Variable name									
+variable::pref_group	combo	20								Preferences area		pref_group	nullselect						
 variant::inventory::quantity	text	8								On hand	Inventory of this variant.								
 variant::options::code	text	20								SKU									 
 variant::options::description	textarea	60	3							Variant description