Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Add Product Code (SKU) to Grid View Rate Topic   - - - - -

 

Posted 28 April 2010 - 01:20 AM #1

Anyone know how to display the product code in the grid view? It's there by default in the list view, and I'd like to add it to the grid view.

 

Posted 28 April 2010 - 09:55 AM #2

Got it...I tried this from the list view, and got nothing: {assign var="sku" value="sku_$obj_id"}{$smarty.capture.$sku}

But this works: {$product.product_code}

 
  • johnbol1
  • Never Re
  • Members
  • Join Date: 23-Feb 10
  • 4552 posts

Posted 28 April 2010 - 02:33 PM #3

Hi Interface I want to do this also, where abouts did you add it.

Thanks
John

Custom printed hi visibility clothing sale the UK's online hivis safety shop
v4.5.2


 

Posted 02 June 2010 - 04:41 PM #4

Sorry for the delay, I missed your post.

I added "<p class="sku">Part #: {$product.product_code}</p>" under the product description in blocks/list_templates/grid_list.tpl.

Hope that helps.

 
  • Ghiyas
  • Senior Member
  • Trial users
  • Join Date: 07-Aug 17
  • 150 posts

Posted 07 May 2019 - 10:21 AM #5

Apologies for resurrecting such an old post, but what would the full path be for "blocks/list_templates/grid_list.tpl" 



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3800 posts

Posted 07 May 2019 - 12:16 PM #6

/design/themes/your_theme/templates/blocks/list_templates/grid_list.tpl



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19379 posts

Posted 07 May 2019 - 01:23 PM #7

Try the following solution

 

https://forum.cs-car...ld/#entry303757


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.