![]() |
![]() |
Hey all! I forgot to post this one a few weeks ago when I finished it up. This attachment is a results page which allows you to have a list of products each having a quantity, size, color, and buy button per product. I spent quite a bit of time to get this one to work correctly. The construct demo used a perl sub (munge_quantity) to set the quantity correctly however it did not work for the size or color. This page also illustrates using an image as the buy button. There is also a check for which browser is being used, netscape did not like the IE code and IE did not like the Netscape code. Come to find out the 'image' input type is not valid in Netscape and therefore does not have an 'OnClick' event. This page is being posted to help out anyone else trying to do the same thing on their site. You can see the page in action at: http://www.mygamewear.com (the page is going to be switched up in the near future to fit more products on a page). Take it easy! -Ron P.S. Please post to the list with questions, my personal email box is getting hit hard these days :)[comment] ui_template: Yes ui_template_name: top_left_bottom [/comment] [comment] Author: Ron Phipps Date: Jan-22-2001 Company: MyGamewear.com [/comment] [set bgcolor]#FFFFFF[/set] [set component_right][/set] [set component_after][/set] [set component_before][/set] [set members_only]0[/set] [set page_banner][/set] [set component_vsize][/set] [set vbanner][/set] [set vpromo_type][/set] [set component_hsize][/set] [set hbanner][/set] [set hpromo_type][/set] [set header_saying]Search Results[/set] [set page_title]__COMPANY__ | Search Results[/set] @_TLB_TOP_@ [include templates/regions/HEADER_W_RESULTS.TXT] @_TLB_LEFT_@ [set did_order][/set] [search-region] [tmp cross_sale][value-extended name=mv_searchspec index=0][/tmp] [on-match] [/on-match] [search-list]
|
|
|||||||||||||||||