Foxee Quantity Pulldown
Posted: 10 March 2010 01:20 PM   Ignore ]  
Newbie
Rank
Total Posts:  12
Joined  2008-12-16

Hello,

I would like to show a quantity dropdown listing 1-25 for a product, another product show a limit of 1-50 and so on.

Currently, you have a character limit on the field product_limit_quantity of 32 characters. Is there a reason for this and can I change it to 128 so that I can put in longer lists?

Thanks,

Brad Parscale

Profile
 
Posted: 10 March 2010 01:25 PM   Ignore ]   [ # 1 ]  
Newbie
Rank
Total Posts:  12
Joined  2008-12-16

I also noticed here:

$DSP->input_text(‘foxee_product_limit_quantity’, $foxee_data[‘product_limit_quantity’], ‘20’, ‘20’, ‘input’, ‘150px’)

you have it limited to 20 characters. Can I change this? If so what problems will this cause?

Brad

Profile
 
Posted: 11 March 2010 02:35 PM   Ignore ]   [ # 2 ]  
Newbie
Rank
Total Posts:  12
Joined  2008-12-16

Guys?

Profile
 
Posted: 11 March 2010 03:48 PM   Ignore ]   [ # 3 ]  
Administrator
Avatar
RankRankRankRank
Total Posts:  406
Joined  2008-04-21

Go ahead and make the changes. there’s no adverse effects. I can put in the changes in foxee as long you’ve documented them here which you’ve done.

-brian

Profile
 
Posted: 11 March 2010 11:22 PM   Ignore ]   [ # 4 ]  
Newbie
Rank
Total Posts:  12
Joined  2008-12-16

Hello Brian,

Good. I just wanted to make sure that wouldn’t mess something else up.

Here is what I did:

Database:

ALTER TABLE `exp_foxee_skus` CHANGE `product_limit_quantity`  `product_limit_quantity` VARCHAR( 128 ) CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL

ext.foxee_extension.php:

Changed line 778 to:

.  $DSP->input_text('foxee_product_limit_quantity'$foxee_data['product_limit_quantity']'20''128''input''150px'

Thanks!

Profile
 
   
 
 

Join our Mailing List