View Single Post
  #1  
Old 11-15-2011, 02:07 PM
  XCart4Life's Avatar 
XCart4Life XCart4Life is offline
 

Advanced Member
  
Join Date: Feb 2010
Posts: 62
 

Thumbs up Save clicks editing variants prices quantities X-Cart 4.4.4

I thought I'd save other people click and waiting time. When I was editing product variant quantities or variant prices I had to click the product first...wait for page to load... then click product variants... wait for page to load. So I added a direct link from the search page in admin.

Edit /skin/common_files/main/products.tpl

Find line:
PHP Code:
<td width="100%">{if $products[prod].main eq "Y" or $main ne "category_products"}<b>{/if}<a href="product_modify.php?productid={$products[prod].productid}{if $navpage}&amp;page={$navpage}{/if}">{$products[prod].product}</a>{if $products[prod].main eq "Y" or $main ne "category_products"}</b>{/if}</td

Change to:

PHP Code:
<td width="100%">{if $products[prod].main eq "Y" or $main ne "category_products"}<b>{/if}<a href="product_modify.php?productid={$products[prod].productid}{if $navpage}&amp;page={$navpage}{/if}">{$products[prod].product}</a> {if $products[prod].is_variants eq 'Y'} | <a href="product_modify.php?productid={$products[prod].productid}&section=variants">Variants</a>{/if} {if $products[prod].main eq "Y" or $main ne "category_products"}</b>{/if}</td
__________________
X-Cart Pro v4.2.2 [Win]
X-Cart Pro v4.2.3 [Win]
X-Cart Pro v4.4.4 [Win]
Reply With Quote