在Magento中显示类别的结束时间
我将如何显示您可以分配给Magento中某个类别的“活动到”时间。最终,我计划使用此信息为客户网站上的一些短期销售创建倒计时,但我无法确定要调用哪个变量。活动日期实际上是一个自定义设计日期,因此您可以在类别对象上使用getCustomDesignTo()调用它 在design\frontend\base\default\template\catalog\category\view.phtml中,您只需运行在Magento中显示类别的结束时间,magento,magento-1.5,Magento,Magento 1.5,我将如何显示您可以分配给Magento中某个类别的“活动到”时间。最终,我计划使用此信息为客户网站上的一些短期销售创建倒计时,但我无法确定要调用哪个变量。活动日期实际上是一个自定义设计日期,因此您可以在类别对象上使用getCustomDesignTo()调用它 在design\frontend\base\default\template\catalog\category\view.phtml中,您只需运行 echo $_category->getCustomDesignTo(); 加载$
echo $_category->getCustomDesignTo();
加载$\u类别后。活动日期实际上是一个自定义设计日期,因此可以在类别对象上使用getCustomDesignTo()调用它 在design\frontend\base\default\template\catalog\category\view.phtml中,您只需运行
echo $_category->getCustomDesignTo();
加载$\u类别后。尝试输出var\u转储($category->getAttributes())
,查找您搜索的属性的名称,然后尝试类似于$category->getActiveToDate()
的操作。尝试输出var\u转储($category->getAttributes())
,查找您搜索的属性的名称,然后尝试类似于$category->getActiveToDate()
的操作。