Jump to content

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

Product Code Field Rate Topic   - - - - -

 
  • becomarius
  • Advanced Member
  • Members
  • Join Date: 09-Feb 12
  • 131 posts

Posted 09 July 2018 - 11:16 AM #1

Hi

For 4.7.4

 

I now there are somewhere a topic about this, but i can`t find 

In need to add "product code" field on product grid, product list and others... i  now there are somewhere a .less file to add or remove these option

 

I use this https://www.ecom-lab...iew-add-on.html

but when title is to long, the product code don`t show


CS Cart lovers


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

Posted 09 July 2018 - 12:52 PM #2

Here is example for grid list:

 

- design/themes/THEME/templates/blocks/product_list_templates/products_multicolumns.tpl (all product listing templates are located here)

 

- add the following code:

show_price=true

- design/themes/THEME/templates/blocks/list_templates/grid_list.tpl

 

- add the following code in the required place:

                <div class="ty-product-block__sku">
                    {assign var="sku" value="sku_`$obj_id`"}
                    {$smarty.capture.$sku nofilter}
                </div>

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 руб.


 
  • becomarius
  • Advanced Member
  • Members
  • Join Date: 09-Feb 12
  • 131 posts

Posted 09 July 2018 - 01:17 PM #3

 

Here is example for grid list:

 

- design/themes/THEME/templates/blocks/product_list_templates/products_multicolumns.tpl (all product listing templates are located here)

 

- add the following code:

show_price=true

- design/themes/THEME/templates/blocks/list_templates/grid_list.tpl

 

- add the following code in the required place:

                <div class="ty-product-block__sku">
                    {assign var="sku" value="sku_`$obj_id`"}
                    {$smarty.capture.$sku nofilter}
                </div>

Working only if i disable ECL addon

I will like to still use it  :( ...for other reason


CS Cart lovers


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

Posted 10 July 2018 - 05:21 AM #4

I use this https://www.ecom-lab...iew-add-on.html

but when title is to long, the product code don`t show

 

Please PM me URL of your website


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 руб.