我正在使用这个网址:http: //xhtmlandcsshelp.blogspot.in/2010/12/get-products-from-particular-category.html
我需要在主页上显示特定类别ID的产品
所以我用了那个网址,我添加了,
$model->load($_prdIds);
$pname = $model->getName();
Run Code Online (Sandbox Code Playgroud)
但评级摘要明星如何显示?有人可以帮我吗?
提前致谢 ...
在ISO-8859-1中显示的不是欧元符号
我正在为法国,西班牙,德国和意大利的商店使用这个字符集.
请告诉我如何解决这个欧元符号问题或任何其他解决方案,以显示上面列出的语言的特殊字符.
我已经开始将AMP概念集成到我目前的Magento实时项目中.
我做过以下事情.
这里建议的www文件夹中的一个测试html文件,https://www.ampproject.org/docs/get_started/create/basic_markup.html这很有用.
我在magento项目中用1column.phtml做过,
<!DOCTYPE html>
<html amp lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php echo $this->getLang() ?>" lang="<?php echo $this->getLang() ?>">
Run Code Online (Sandbox Code Playgroud)
在head.phtml中,添加第一行如下
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1" />
<link rel="canonical" href="http://www.example.com" />
<script type="application/ld+json">
{
"@context": "http://schema.org",
"@type": "NewsArticle",
"headline": "Open-source framework for publishing content",
"datePublished": "2015-10-07T12:02:41Z",
"image": [
"logo.jpg"
]
}
</script>
<style amp-boilerplate>body{-webkit-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-moz-animation:-amp-start 8s steps(1,end) 0s 1 normal both;-ms-animation:-amp-start 8s steps(1,end) 0s 1 normal both;animation:-amp-start 8s steps(1,end) 0s 1 normal …
Run Code Online (Sandbox Code Playgroud) 我需要按顺序在购物车页面中放置结帐按钮
1) Proceed to checkout
2) Google checkout
3) Paypal Express
Run Code Online (Sandbox Code Playgroud)
checkout.xml里面
<checkout_cart_index>
<block type="core/text_list" name="checkout.cart.methods" as="methods" translate="label">
<label>Payment Methods After Checkout Button</label>
<block type="checkout/onepage_link" name="checkout.cart.methods.onepage" as="testproceed" after="-" template="checkout/onepage/link.phtml"/>
<block type="checkout/multishipping_link" name="checkout.cart.methods.multishipping" template="checkout/multishipping/link.phtml"/>
</block>
Run Code Online (Sandbox Code Playgroud)
googlecheckout.xml
<reference name="checkout.cart.methods">
<block type="googlecheckout/link" name="checkout.cart.methods.googlecheckout.bottom" after="testproceed" as="testgoogle" template="googlecheckout/link.phtml"/>
</reference>
Run Code Online (Sandbox Code Playgroud)
paypal.xml
<reference name="checkout.cart.methods">
<block type="paypal/express_shortcut" name="checkout.cart.methods.paypal_express.bottom" as="testpaypal" after="testgoogle" template="paypal/express/shortcut.phtml">
<action method="setIsQuoteAllowed"><value>1</value></action>
<action method="setIsInCatalogProduct"><value>1</value></action>
<action method="setShowOrPosition"><value>before</value></action>
</block>
</reference>
Run Code Online (Sandbox Code Playgroud)
但没有得到正确的顺序.请帮忙..
我创建了csv文件并使用它导入
System -> Import/Export -> Dataflow-Profile
我发现,在产品Catalog -> Manage Categories
中Category Products
,产品正在显示但是在Manage Products产品中没有显示.
并且在数据库catalog_product_flat_1
表中没有该产品的条目,而在其他表中则有该产品的条目
我有重新索引数据和清除缓存但没有解决方案..
请帮助一些..
我已经实现了表速率,它看起来像
如果我的订单总数是350或500或800所有情况下,我得到35运费价格
我选择条件为"价格与目的地".
所以请指教