how can I make products availability visible also for "grid" and "compact list" views , not just for "list without option "?
thanks
how can I make products availability visible also for "grid" and "compact list" views , not just for "list without option "?
thanks
As for compact list
design/themes/responsive/templates/blocks/list_templates/compact_list.tpl
add
{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter}
under the following line
{$smarty.capture.$sku nofilter}
AND
design/themes/responsive/templates/blocks/product_list_templates/short_list.tpl
add
show_product_amount=true
under the following line:
show_discount_label=false
Then clear cache and check
Grid list
design/themes/responsive/templates/blocks/list_templates/grid_list.tpl
add
{assign var=“product_amount” value=“product_amount_under the following code$obj_id
”}
{$smarty.capture.$product_amount nofilter}
{assign var=“old_price” value=“old_price_$obj_id
”}
{if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price nofilter}{/if}{assign var="price" value="price_`$obj_id`"} {$smarty.capture.$price nofilter} {assign var="clean_price" value="clean_price_`$obj_id`"} {$smarty.capture.$clean_price nofilter} {assign var="list_discount" value="list_discount_`$obj_id`"} {$smarty.capture.$list_discount nofilter}
show_product_amount=trueunder the following line:
but_role=“action”Then clear cache and check
ANDGrid list
design/themes/responsive/templates/blocks/list_templates/grid_list.tpl
add{assign var="product_amount" value="product_amount_`$obj_id`"} {$smarty.capture.$product_amount nofilter}under the following code{assign var="old_price" value="old_price_`$obj_id`"} {if $smarty.capture.$old_price|trim}{$smarty.capture.$old_price nofilter}{/if}{assign var="price" value="price_`$obj_id`"} {$smarty.capture.$price nofilter} {assign var="clean_price" value="clean_price_`$obj_id`"} {$smarty.capture.$clean_price nofilter} {assign var="list_discount" value="list_discount_`$obj_id`"} {$smarty.capture.$list_discount nofilter}
design/themes/responsive/templates/blocks/product_list_templates/products_multicolumns.tpl
addshow_product_amount=trueunder the following line:but_role="action"Then clear cache and check
Thank you ! Works for me !
How about product code ? can you help me also with this issue ?
many thanks !
Please use the following code in these files:
{$sku = "sku_`$obj_id`"} {$smarty.capture.$sku nofilter}
Grid list: design/themes/responsive/templates/blocks/list_templates/grid_list.tpl
Products w/o options list: design/themes/responsive/templates/blocks/list_templates/products_list..tpl
and add
show_sku=true
To these ones:
design/themes/responsive/templates/blocks/product_list_templates/products_multicolumns.tpl
design/themes/responsive/templates/blocks/product_list_templates/products_withoout_optionstpl
Please use the following code in these files:
Grid list: design/themes/responsive/templates/blocks/list_templates/grid_list.tplCompact list: design/themes/responsive/templates/blocks/list_templates/compact_list.tpl
and add
show_sku=trueTo these ones:
design/themes/responsive/templates/blocks/product_list_templates/products_multicolumns.tpl
design/themes/responsive/templates/blocks/product_list_templates/short_list.tpl
Sorry , what code to use ?
Sorry , what code to use ?
Sorry, Here is the code
{$sku = "sku_`$obj_id`"} {$smarty.capture.$sku nofilter}
Sorry, Here is the code
{$sku = "sku_`$obj_id`"} {$smarty.capture.$sku nofilter}
Thanks, but this suggestion doesn't work for me, just show me this iext" show_sku=true " in the bottom of search page .
Do you test it before ?
Thanks again !
Thanks, but this suggestion doesn't work for me, just show me this iext" show_sku=true " in the bottom of search page .
Do you test it before ?
Thanks again !
Yes, it worked on my local installation. PM me temporary FTP access so that we can check it
Yes, it worked on my local installation. PM me temporary FTP access so that we can check it
I just send you by PM . Tks