We are building an accessories catalog in which many of the products correspond to a certain year (or number of years) of a motor vehicle.
Most of our products have a custom property called "DateRange". It contains an array of years that the product applies to. For example, product A's DateRange variable contains the following info:
1996, 1997, 1998, 1999
We would like customers to be able to search based on vehicle and the year of that vehicle. The setup to search on vehicle has been accomplished, but when we try the year we run into a bit of an issue... it seems that Actinic searches for an exact match in the DateRange field.
We would like to know how to modify any scripts or setup in Actinic that would allow us to search for a partial match in the DateRange values.
Does this make sense? We've tried a number of things including changing line 467 of "Search.pm" to:
my $sWord = "!!$sPropertyName!*$sPropertyValue*";
But nothing's worked yet.
Thanks for your help.
Brendan
Most of our products have a custom property called "DateRange". It contains an array of years that the product applies to. For example, product A's DateRange variable contains the following info:
1996, 1997, 1998, 1999
We would like customers to be able to search based on vehicle and the year of that vehicle. The setup to search on vehicle has been accomplished, but when we try the year we run into a bit of an issue... it seems that Actinic searches for an exact match in the DateRange field.
We would like to know how to modify any scripts or setup in Actinic that would allow us to search for a partial match in the DateRange values.
Does this make sense? We've tried a number of things including changing line 467 of "Search.pm" to:
my $sWord = "!!$sPropertyName!*$sPropertyValue*";
But nothing's worked yet.
Thanks for your help.
Brendan
Comment