Open Source Services

Development Services and Products for Open Source e-Commerce Sites

 
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottomPage: 1
TOPIC: Product model numbers
#242
Product model numbers 3 Years, 11 Months ago  
why are Product model numbers MUST consist of only the following characters - 0123456789 and '-' ?

I currently have model numbers that has letters and spaces in there, anyway to modify this?

Thank
Sam W
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#244
Re:Product model numbers 3 Years, 11 Months ago  
Hi Sam

Thanks for your enquiry.

NB: v2.0 PLUS and v3.0 PLUS ARE NOT AFFECTED BY THIS PROBLEM

Products with model numbers containing letters and spaces can still be used with PAPs, but not all functionality will operate cleanly.

The main drawback will be if you select to display Attribute Names on the product_info page. Your model number will be displayed together with the Attribute Name, which would not be desirable.

If you want to look into a workaround, look in this file:

Catalog/includes/classes/paps_delegate.php

The following function parses the current relevant filenames in the images/paps folder and attempts to extract the model number from them:

function getAttributeNames($arr_model_filenames){}

Filenames have the following format:

[model_number][attribute_name]_[attribute_value].jpg

Perhaps the simplest fix would be to include another separator character between the [model_number] and the [attribute_name], but then you would have to make sure the separator is included in the filename when initially saving filenames.

Hope this helps.

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
Last Edit: 2008/07/24 11:59 By hanuman.
The administrator has disabled public write access.
 
#345
Re:Product model numbers 3 Years, 8 Months ago  
Hi Sam

I'm pleased to say that we've finally pushed PAPs v2.0 for CRELoaded out of the door and its now available on our site.

This new version is far more stable than v1.0 and addresses all the problems you had with the first version.

I will be sending you a free copy of the software soon and wish to thank you for your suggestion and cooperation in this matter. I know it may be a bit late for you, but you never know when you might have a use for it in future!

Regards

Nick
hanuman
Moderator
Posts: 371
graph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
Go to topPage: 1