Thread: Page Preview
View Single Post
  #2  
Old 06-23-2003, 11:31 PM
 
funkydunk funkydunk is offline
 

X-Man
  
Join Date: Oct 2002
Location: Cambridge, UK
Posts: 2,210
 

Default

If you have the product as disabled - but then go to the product directly as:

www.domain.com/xcart dir/customer/product.php?productid=70

or whatever the product id is.

This could be added to the confirmation page after a product has been added to open it up in a new window.

template is main/product_add_message.tpl

change:

Code:
{* $Id: product_add_message.tpl,v 1.9 2002/05/20 06:55:23 lucky Exp $ *} {include file="location.tpl" last_location=$lng.lbl_add_product} {capture name=dialog} {$lng.lbl_product} #{$product.productid} {$lng.lbl_product_added} {$lng.lbl_modify_product} {include file="buttons/go.tpl"} {$lng.lbl_add_more_products} {include file="buttons/go.tpl"} {/capture} {include file="dialog.tpl" title=$lng.lbl_confirmation content=$smarty.capture.dialog extra="width=100%"}

to

Code:
{* $Id: product_add_message.tpl,v 1.9 2002/05/20 06:55:23 lucky Exp $ *} {include file="location.tpl" last_location=$lng.lbl_add_product} {capture name=dialog} {$lng.lbl_product} #{$product.productid} {$lng.lbl_product_added} Preview Product {include file="buttons/go.tpl"} {$lng.lbl_modify_product} {include file="buttons/go.tpl"} {$lng.lbl_add_more_products} {include file="buttons/go.tpl"} {/capture} {include file="dialog.tpl" title=$lng.lbl_confirmation content=$smarty.capture.dialog extra="width=100%"}
__________________
ex x-cart guru
Reply With Quote