页: 1 根据不同类别,我想要在每个新网页上改变其内容。 我如何能够做到这一点,或者我能否在产品页外获取产品特性? 这是可能的吗?
目 录
页: 1 根据不同类别,我想要在每个新网页上改变其内容。 我如何能够做到这一点,或者我能否在产品页外获取产品特性? 这是可能的吗?
目 录
你们可以通过界定自己的组成部分来做到这一点,尽管具体内容取决于对要求的更多细节。 1. 界定一栏,如果你在一页上用目前这一类别界定的话,将产生你想要的足迹:
$category = Mage::registry("current_category");
if($category) {
// write your output here
}
$product = Mage::registry("current_product");
if($product) {
// write your output here
}
请注意,根据每一页对你的全球变化通常是错误的。 此时此刻,它就拖了全球脚步。
Thanks, Joe
When using the Magento collection method addFieldToFilter is it possible to allow filtering by NULL values? I want to select all the products in a collection that have a custom attribute even if no ...
I am new to Magento and using their API. I need to be able to get the product url from the API call. I see that I can access the url_key and url_path, but unfortunately that s not necessarily what ...
My problem is I want to change my category page layout similar as homepage I tried a lot but didn t get the answer.
I want to install a Magento extension in WAMP, but not from the Magento connect system. How can I do this? I have the module (extension) code and I already installed the sample data in the Magento ...
Is it possible to redirect the browser to nth step in the onepage checkout? If so, how would one go about doing it? I m working on a payment module and have a sort of "cancel" action that i would ...
I was wondering if it possible to link a category to My Account . Basically I would like to make My Account more prominent, by creating a category - My Account which appears in the main menu ...
I have a ‘featured’ attribute, which has a Yes/No select-list as the admin input. I presume that the values for Yes and No are 1 and 0, as they are for every other Yes/No list. However, if I try and ...
I tried importing product images into Magento using an absolute path, but it did not work. The image was not uploaded. For example, I tried importing "http://somewebsite.com/someimage.jpg". The image ...