在模具bigcommerce中显示特定类别的图像 [英] Display particular category image in stencil bigcommerce

查看:69
本文介绍了在模具bigcommerce中显示特定类别的图像的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Mega菜单中工作,我添加了一些新功能,但在Mega菜单中显示的图像少于两个类别,我该如何显示?我正在使用stancil框架.

I am working in Mega menu and i have add some new functionality i have display less than two category image in my mega menu how can i display? I am use stancil framwork.

我已经使用此代码:

<ul class="col-2">
    <li class="menuFeat">
        <a href="#">Image:
        {{category.subcategories.image}}    
        </a>
    </li>

</ul>

项目链接: http://ptg6.mybigcommerce.com

推荐答案

据我了解,您希望将每个类别的图像显示到您的大型菜单中,所以如果我说对了,那就走吧.

As I understood you want to show each category image into your mega menu so let's go if I am right.

步骤1:打开您的管理端,然后打开主题文件编辑器,我希望您知道如何打开它.

Step 1: Open your admin end and then open your themes file editor I hope you know well how to open it.

步骤2 转到组件"->通用"->"navigation-list.html"

Step 2 Go to components-> common -> navigation-list.html

步骤3 将此<a class="navPage-subMenu-action navPages-action" href="{{url}}">{{name}}<img src="{{getImage image "thumbnail"}}"></a>

检查屏幕截图 http://prntscr.com/fhocrk

,它看起来像这样一个 http://deepak-diwan-s-store .mybigcommerce.com/

and it will look like this one http://deepak-diwan-s-store.mybigcommerce.com/

检查我商店中的所有菜单,另外一件事应该从后端分配图像.

check all menus in my store, one more thing category should have images assigned from the back end.

这篇关于在模具bigcommerce中显示特定类别的图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆