[ic] Combine two fields into an SKU ?

Peter peter at pajamian.dhs.org
Tue Feb 8 20:14:45 UTC 2011

On 09/02/11 05:31, DB wrote:
> I'm looking for a way to combine a "brand" and an "item_number" (both
> are fields of the products table) into an sku, so that a link such as:
> http://www.website.com/order?brand=BrandA&item_number=1234&mv_order_quantity=2
> Would add 2 of sku BrandA-1234 into a cart. It's possible that the same
> item_number could be used by multiple brands, so the sku BrandB-1234
> might also exist.

Use an ActionMap that takes the brand and sku and rewrites them into a
single mv_order_item CGI variable, then hands control off to the order page.


More information about the interchange-users mailing list