CoreCommunity ExtensionsIncubatorDistributionsTYPO3 4.5 ProjectsTYPO3 4.7 ProjectsTYPO3 6.0 ProjectsTYPO3 6.1 ProjectsTYPO3 6.2 Projects (+)

Suggestion #35143

PUID integer only?

Added by Dirk Wildt about 1 year ago. Updated about 1 year ago.

Status:Rejected Start date:2012-03-22
Priority:Should have Due date:
Assignee:- % Done:

0%

Category:-
Target version:-
Patch is reviewed:No Reporter:
Votes: 0

Description

Dear wt_cart-team,
it seems, that an integer is accepted for the puid value only.

If I use an integer, the shopping cart works proper.
If I use a string, the shopping cart doesn't fetch the selected product.

The manual isn't clear:

See Configuration > main configuration:

Property: gpvar.puid
Data type: Text
Description: ... Enter the correct POST parameter name for a unique product
number (integer) of your order form. ... It can't be a string.

If puid can't be a string now, it would be wonderful to enhance wt_cart.

I have product-ID as string.

Thanks
Dirk

History

Updated by Daniel Lorenz about 1 year ago

  • Status changed from New to Rejected

We discussed this in wt_cart developer team. puid is a Product Unique Id and can't be a string. If you need a string value for identifiing a product use the sku-field.
puid is a integer because it is adapted to the uid of a database. there you arn't able to set a string.

Also available in: Atom PDF