Gshot Posted November 3, 2008 Posted November 3, 2008 Hi Guys, During account creation and check out I would like to make the entering of an address optional. Our OSC store is used simply as a quote system and the shopping cart is used to collect information on proucts customers are interested in, then we call them with a quote. I think some people are put off by the need to enter their full details as all we need if their name, email and tel number. How can I make the address optional OR remove it completely? Thanks in advance, I need to figure this out urgently
easytech Posted November 3, 2008 Posted November 3, 2008 Hi Guys, During account creation and check out I would like to make the entering of an address optional. Our OSC store is used simply as a quote system and the shopping cart is used to collect information on proucts customers are interested in, then we call them with a quote. I think some people are put off by the need to enter their full details as all we need if their name, email and tel number. How can I make the address optional OR remove it completely? Thanks in advance, I need to figure this out urgently Hey, how's it going. Line 105(give or take) of "yourstore/create_account.php" is where the adress requirement resides, backup that file then start taking away the lines that are not wanted. Of course in that same document are the rest of the contact requests.. let me know if this helps. :)
Guest Posted November 3, 2008 Posted November 3, 2008 Hi Guys, During account creation and check out I would like to make the entering of an address optional. Our OSC store is used simply as a quote system and the shopping cart is used to collect information on proucts customers are interested in, then we call them with a quote. I think some people are put off by the need to enter their full details as all we need if their name, email and tel number. How can I make the address optional OR remove it completely? Thanks in advance, I need to figure this out urgently Try the Required Customer Details contribution.
Gshot Posted November 3, 2008 Author Posted November 3, 2008 Hey, how's it going. Line 105(give or take) of "yourstore/create_account.php" is where the adress requirement resides, backup that file then start taking away the lines that are not wanted. Of course in that same document are the rest of the contact requests.. let me know if this helps. :) Hi, thanks for the reply I have removed if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_STREET_ADDRESS_ERROR); } if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_POST_CODE_ERROR); } if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_CITY_ERROR); } But the fields still exsist in the 'create account' page?
easytech Posted November 3, 2008 Posted November 3, 2008 Hi, thanks for the reply I have removed if (strlen($street_address) < ENTRY_STREET_ADDRESS_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_STREET_ADDRESS_ERROR); } if (strlen($postcode) < ENTRY_POSTCODE_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_POST_CODE_ERROR); } if (strlen($city) < ENTRY_CITY_MIN_LENGTH) { $error = true; $messageStack->add('create_account', ENTRY_CITY_ERROR); } go http://addons.oscommerce.com/info/5407 Something to make our lives easier Gshot :D
Recommended Posts
Archived
This topic is now archived and is closed to further replies.