Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Management Page-Change Dedault (Price Modifier) to Default (Product Variant)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 12-24-2007, 11:18 AM
 
lera4285 lera4285 is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 43
 

Default Product Management Page-Change Dedault (Price Modifier) to Default (Product Variant)

Hi,

On the product management page there is an "Update option form."
On the form the third option down is the default "Price Modifier." I would like to change the default to "Product Variant."

Does anyone know how to accomplish this?

I will never use Price Modifier and each time I include a new product I must change to Product Variant.

Thanks for your time
__________________
Learning is a beautiful yellow brick road that never ends.
4.1.9 Unix Windows XP
Florida
www.sexcitinglingerie.com
Reply With Quote
  #2  
Old 12-24-2007, 12:29 PM
 
carpeperdiem carpeperdiem is offline
 

X-Guru
  
Join Date: Jul 2006
Location: New York City, USA
Posts: 5,399
 

Default Re: Product Management Page-Change Dedault (Price Modifier) to Default (Product Varia

Simple. Use webmster mode. Determine that the template file you want to edit is:

/skin1/modules/Product_Options/add_product_options.tpl

Find the code for the pulldown:

Code:
<option value='Y'{if $product_option.is_modifier eq 'Y'} selected="selected"{/if}>{$lng.lbl_modificator}</option> {if $product.product_type ne 'C'} <option value=''{if $product_option.is_modifier eq '' && $product_option.classid > 0} selected="selected"{/if}>{$lng.lbl_variant}</option> {/if} <option value='T'{if $product_option.is_modifier eq 'T' && $product_option.classid > 0} selected="selected"{/if}>{$lng.lbl_text_field}</option>

Re-order it:

Code:
{if $product.product_type ne 'C'} <option value=''{if $product_option.is_modifier eq '' && $product_option.classid > 0} selected="selected"{/if}>{$lng.lbl_variant}</option> {/if} <option value='Y'{if $product_option.is_modifier eq 'Y'} selected="selected"{/if}>{$lng.lbl_modificator}</option> <option value='T'{if $product_option.is_modifier eq 'T' && $product_option.classid > 0} selected="selected"{/if}>{$lng.lbl_text_field}</option>

Learn to use webmaster mode, and you will always find what you need!
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4
Reply With Quote
  #3  
Old 12-24-2007, 02:58 PM
 
lera4285 lera4285 is offline
 

Advanced Member
  
Join Date: Nov 2007
Posts: 43
 

Default Re: Product Management Page-Change Dedault (Price Modifier) to Default (Product Variant)

Thanks Carpeperdiem,

I am not comfortable with the webmaster mode yet so I FTP'd your suggested changes and they worked perfectly.

I am 75 and way behind you younger people plus I have a lot of learning to do.

I would not have figured this out without your help so once again thanks very much.
__________________
Learning is a beautiful yellow brick road that never ends.
4.1.9 Unix Windows XP
Florida
www.sexcitinglingerie.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:58 PM.

   

 
X-Cart forums © 2001-2020