The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Is there a 'problem' with Alpha Numeric Product Id's
Author Message
Reply with quote
Post Is there a 'problem' with Alpha Numeric Product Id's 
Well I finally got my nameservers repointed so that I could Cpanel install Agora - which went off nicely.

Reading through some posts and the online manual - there is the suggestion that using Alpha Numeric Product Id's is undesireable and 'may not work right'

Equally there has been at least one reply I read which said AlphaNum Id's 'should work all right'

So - my question is - are AlphaNum Id's ok - with a key pad length of 8-10 ?

Thanks

Matthew


_________________
Matthew E Therrien
View user's profile Send private message Send e-mail
Reply with quote
Post  
Well I answered part of my own question - key pad length can only be <=9

so that's one thing less to worry about :-)


_________________
Matthew E Therrien
View user's profile Send private message Send e-mail
Reply with quote
Post RE: Is there a 'problem' with Alpha Numeric Product Id's 
hell-o
that can be increased. it amounts to about the same thing as increasing the characters in a text box in the prtected folder.
alpha numeric p_id will apparently work just fine. if, however, you need to use var_options then you will need to alter a very minor thingie.
contrary to a previous post the variable options do work.
regards,
dan

Reply with quote
Post  
I use alpha numeric product ID's in my stores and they work just fine. The only time I have any trouble, was with the variable/quantity discount options. There's a place in the option code that needs to be "eq" instead of "==".
Specifically, the following line:
if ($xpid == $cart_row[$cart{'product_id'}]) {$qty = $qty + $xqty;}

I had to change it to the following for it to work properly with my alpha numeric product ID's:
if ($xpid eq $cart_row[$cart{'product_id'}]) {$qty = $qty + $xqty;}

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum