什么是Google“丰富网页摘要”,这里有文章介绍http://www.williamlong.info/archives/3254.html
丰富网页摘要学习笔记
在商品页面(仅包含单件商品的页面)或汇总的优惠页面,不支持在列表页上使用商品标记!可以创建带有嵌套商品的优惠。
<!--表示<div>
中所含的 HTML 内容代表的是一件商品。itemscope
表示<div>
的内容描述的是某一项,而itemtype="http://data-vocabulary.org/Product"
表明该项是商品。-->
<div itemscopeitemtype="http://data-vocabulary.org/Product">
<spanitemprop="brand">惠家</span><span itemprop="name">经典
园艺剪</span>
<imgitemprop="image" src="anvil_executive.jpg" />
<span itemprop="description">惠家经典园艺剪
与其普通款相比更为坚固耐用,
是您修整庭园的最佳选择。
</span>
类别:<span itemprop="category"content="Hardware > Tools > shears">园艺剪</span>
商品编号 #:<spanitemprop="identifier" content="mpn:925872">
925872</span>
<spanitemprop="review" itemscopeitemtype="http://data-vocabulary.org/Review-aggregate">
<spanitemprop="rating">4.4</span> 星(来自 <span itemprop="count">89
</span>条评论)
</span>
<spanitemprop="offerDetails" itemscopeitemtype="http://data-vocabulary.org/Offer">
正常价格:179.99 元
<metaitemprop="currency" content="RMB" />
<spanitemprop="price">119.99</span> 元
(促销于 <time itemprop="priceValidUntil"datetime="2020-11-05">
11 月 5 日结束!</time>)
供货商:<span itemprop="seller">经典园艺</span>
新旧程度:<span itemprop="condition"content="used">二手,
9 成新</span>
<spanitemprop="availability" content="in_stock">有现货!立即订购!</span>
</span>
</div>
注意: 定义价格,因为价格是具体数据,在这个<span>标记前要给他一个label的提示内容,这样产品价格才会出现在google的搜索结果中
Bigcommerce系统给单个产品,添加Google“丰富网页摘要” ,Panels/ProductDetails.html文件的部分内容修改如下:
%%GLOBAL_ProductDetailFlashMessages%%
%%GLOBAL_ProductNameOptimizerScriptTag%%
%%GLOBAL_ProductName%%
%%GLOBAL_ProductNameOptimizerNoScriptTag%%
%%GLOBAL_LightBoxImageJavascript%%
%%SNIPPET_ProductThumbImage%%
%%GLOBAL_AddThisLink%%
%%GLOBAL_FacebookLikeButtonAbove%%
%%LNG_RRP%%:
%%GLOBAL_RetailPrice%%
%%GLOBAL_PriceLabel%%:
%%GLOBAL_ProductPrice%% %%GLOBAL_IncludingExcludingTax%% %%GLOBAL_YouSave%%
- Quantity
- Business Wholesale Price
- %%GLOBAL_BulkDiscountThickBoxRates%%
%%LNG_BulkDiscountThickBoxIntro%%
%%LNG_SKU%%:
%%GLOBAL_SKU%%
%%LNG_Vendor%%:
%%GLOBAL_VendorName%%
%%LNG_Brand%%:
%%LNG_Condition%%:
%%GLOBAL_ProductCondition%%
%%LNG_Weight%%:
%%GLOBAL_ProductWeight%%
%%LNG_Rating%%:
%%LNG_Availability%%:
%%GLOBAL_Availability%%
%%LNG_Shipping%%:
%%GLOBAL_ShippingPrice%%
%%LNG_ProductMinQty%%:
%%GLOBAL_MinQty%% %%LNG_units%%
%%LNG_ProductMaxQty%%:
%%GLOBAL_MaxQty%% %%LNG_units%%
%%GLOBAL_CurrentStockLabel%%:
%%GLOBAL_InventoryList%%
%%LNG_GiftWrapping%%:
%%GLOBAL_GiftWrappingAvailable%%
%%SNIPPET_ProductAddToCart%%
%%SNIPPET_ProductExpectedReleaseDate%%
%%GLOBAL_FacebookLikeButtonBelow%%