[comment] ui_template: Yes ui_template_name: leftonly [/comment] [tmp page_title] [if session arg] [description code="[data session arg]"] [else] [item-description] [/else] [/if] [/tmp] [control reset=1] [control-set] [component]search_box_small[/component] [/control-set] [control-set] [component]product_tree[/component] [/control-set] [control reset=1] @_LEFTONLY_TOP_@
[fly-list code="[data session arg]"] [set cross_category][item-field category][/set] [set upsell][item-data merchandising upsell_to][/set] [set cross_codes][item-data merchandising cross_sell][/set]
[form-session-id] [if variable FORUM_PRODUCTS] [/if]

[item-description]

[if-item-field image] [/if-item-field] [comment] This below allows you to put in unlimited extra specs for a product in a file. It needs to be sorted by SKU; after that they are presented in order. IT IS NOT A DATABASE. It would be quite easy to make it a database with some different code, targeting "select * from specs where sku = '[item-code]'" and appropriate query code. [/comment] [if file products/specs.txt] [loop search=" fi=specs.txt st=text sf=sku se=[item-code] op=eq co=yes rf=header,detail "][on-match] [/on-match] [list] [/list] [on-match] [/on-match] [/loop] [/if] [if-item-data inventory quantity < 1] [else] [/else] [/if-item-data]
[item-field comment]
[loop-param header]: [loop-param detail]
 
[if ordered [item-code]] [msg arg.0="[page ord/basket]" arg.1=""]This item is currently in your %sshopping cart%s.[/msg]
[/if] [error auto=1 show_var=0] [if-item-field option_type eq Matrix] [set check_opt] &success=ord/basket mv_sku=mandatory Need to select an option. [/set] [/if-item-field] [if-item-field option_type eq Simple] [seti check_opt] &success=ord/basket [query list=1 sql="select o_group,o_label from options where sku='[item-code]'" ]mv_order_[sql-code]=mandatory Need to select [sql-param o_label] [/query] [/seti] [/if-item-field] [table-organize cols=2 table=' ' font="size=1" pretty=1] [item-options td=1 label=1 bold=1 price=1 blank_label="--select--"] [/table-organize]
[L]Out Of Stock[/L]
[L]In-Stock Notification[/L]
[L]In Stock[/L] [L]Quantity[/L]:
[L]Price[/L]: [item-price]
[forum top="[item-code]" display_page="forum/display" /]

[page href="forum/submit" form=" product=1 mv_arg=[item-code] " ][L]Comment on this product.[/L]

[/fly-list] @_LEFTONLY_BOTTOM_@