osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

text field product option

This is a discussion on text field product option within the osCMax v1.7 General Mods Discussion forums, part of the osCMax v1.7 Forums category; I've used osCommerce for years - this is my first ocMax installation. I know many, many people have used the ...


Go Back   osCommerce and osCMax shopping cart software forums > osCMax v1.7 Forums > osCMax v1.7 General Mods Discussion

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 01-25-2005, 11:20 AM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
esferguson
Default text field product option

I've used osCommerce for years - this is my first ocMax installation.
I know many, many people have used the product attribute text option for personalization. What am I doing wrong?? I can't get the option information passed to the order from the shopping cart.

Any help is greatly appreciated!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 01-25-2005, 04:25 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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
Default RE: text field product option

See this post:

http://oscdox.com/index.php?name=PNp...xt+input+field
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #3  
Old 01-25-2005, 04:42 PM
New Member
 
Join Date: Jan 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
esferguson
Default RE: text field product option

Thanks for the reply. I have already seen that post, and am using oscMax v1.7. The attributes make it into the basket fine - but they are not carried through to the order table.

I have it working on standard osCommerce with the contribution...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 01-25-2005, 06:27 PM
Member
 
Join Date: Dec 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
bdneuman
Default Same problem here...

This is major - we're just getting our store opened up and realized the text fields are not being recorded. The post referenced does not address this issue. All text entered disappears from the cart during checkout and does not get passed to the database - what is going on?
__________________
Brian Neuman
Webmaster
www.honeybeadjewelry.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 01-25-2005, 07:59 PM
Member
 
Join Date: Dec 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
bdneuman
Default Think i've solved it...

Okay, here's the deal.

#1 There was a misspelling in my catalog/includes/configure.php. the line looked like this (at the bottom of the file in mine):

define('PPRODUCTS_OPTIONS_VALUE_TEXT_ID', 0); //Must match id for user defined "TEXT" value in db table TABLE_PRODUCTS_OPTIONS_VALUES

See the double P's in PPRODUCTS? Deleting the duplication allows the text value the customer entered to be passed to checkout/admin/email confirmation and so on. However, the text field definition is still omitted. For example, my form says "Enter custom size:". If they enter "8 inches", the checkout/email/admin order will show ":8 inches".

#2 I believe the problem lies with the attribute manager. In order for the check box to be available in attribute manager, I entered some default text when setting up attributes. So for "Enter custom size:", I entered "Custom Size" in the admin under Option Values - I believe this to be the wrong procedure. The note next to the line I fixed above says the OPTIONS_VALUES must match the id for user defined TEXT. When you enter a default value for each of these attributes like I did, they end up with different id's.

So, the fix is to reset all of my text fields to point to the same Option Value, "TEXT" which will all have the same id (in my case, 0). I think I'll do this via PHPadmin - but I've got a lot of products to change!

In the future, you cannot use the attribute manager to assign text fields to products - they have to be assigned from the bottom of the Product Attributes in admin - this is the old way, prior to attribute manager.

Does the guru agree with this?
__________________
Brian Neuman
Webmaster
www.honeybeadjewelry.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 01-25-2005, 08:01 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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
Default RE: Same problem here... Here is the fix

Not major. A glitch was introduced in one of the updates. The fix is attached here and is just a couple of lines of code.

The file checkout_process.php is the only one that needs to be modified. You can either overwrite your existing file or compare the attached file to your existing one and merge the changes manually. I recommend doing it manually, as there are several different versions floating around out there.

This has also been updated in the main osCMax 1.7 download as of this post.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #7  
Old 01-25-2005, 08:23 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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
Default RE: Same problem here... Here is the fix

bdneuman,

It looks like you have a couple of things going on in addition to the bugfix I posted.

Before you change anything, incorporate the bugfix and see if that fixes your issue. It worked for my test store without changing anything else.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #8  
Old 01-25-2005, 09:03 PM
Member
 
Join Date: Dec 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
bdneuman
Default Corrupt download...

The zipfile is corrupt...

I'm just sitting here going through my attributes and products_options_values_to_products_options tables setting all my text fields option_values to "0". I'll hold up until I can check out your fix...be great if it works!

Thanks.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 01-25-2005, 09:06 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,329
Thanks: 68
Thanked 322 Times in 305 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
Default RE: Corrupt download...

The zip is not corrupt. I just downloaded it and opened it and it works fine.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • 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.

  • 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!
  #10  
Old 01-25-2005, 09:09 PM
Member
 
Join Date: Dec 2004
Posts: 75
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
bdneuman
Default Hmmm...

I tried winzip and winrar and i keep getting this:

! Unexpected end of archive
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
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
Need to add input text field in product attributes bethphilbin osCommerce 2.2 Modification Help 15 08-07-2006 07:48 PM
no text field in attributes - please help! johnr3 osCMax v2 Installation issues 4 05-16-2006 09:47 AM
TEXT Product Option Attribute Broken Out of the Box? chageman osCMax v1.7 Discussion 1 09-13-2005 01:03 AM
product attribute text option question SkidMark osCMax v1.7 General Mods Discussion 5 04-29-2005 10:46 AM
2 questions (STMP & text field under New products) dunik osCommerce 2.2 Modification Help 2 03-25-2005 04:30 AM


All times are GMT -8. The time now is 09:19 AM.


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