shopifyÍâµØ»¯ËÑË÷ÒýÇæÖеIJúÆ·¼ÛÇ®°ì·¨
ÍâµØ»¯ËÑË÷ÒýÇæÖеIJúÆ·¼ÛÇ®
±¸×¢
´Ë×Ô½ç˵ÓÃÓÚ¸´¹Å Shopify Ä£°å£¬£¬£¬£¬£¬£¬²»ÊÊÓÃÓÚ¡°Online Store 2.0¡±Ä£°å¡£¡£¡£¡£¡£¡£¡£¡£
ÕÒµ½ÄúµÄÄ£°å¼Ü¹¹°æ±¾
̽Ë÷¡°Online Store 2.0¡±Ä£°å×Ô½ç˵
¸üÐÂÄúµÄÄ£°å£¬£¬£¬£¬£¬£¬È·±£ËÑË÷ÒýÇæÐ§¹ûÖÐÏÔʾ¼ÛÇ®µÄËùÓÃÇ®±ÒÓë¿Í»§µÄÇ®±ÒÆ¥Åä¡£¡£¡£¡£¡£¡£¡£¡£
ËÑË÷ÒýÇæÍ¨³£»£»£»£»£»£»áÔÚËÑË÷Ч¹ûÖзµ»Ø²úÆ·µÄ¼ÛÇ®¡£¡£¡£¡£¡£¡£¡£¡£µ±ÄúÒÔ¶àÖÖÇ®±Ò¾ÙÐÐÏúÊÛʱ£¬£¬£¬£¬£¬£¬Ð§¹ûÖеÄÇ®±ÒÓÐʱÓë¿Í»§µÄÍâµØÇ®±Ò²»Æ¥Åä¡£¡£¡£¡£¡£¡£¡£¡£
ÈôÊÇÄúµÄ¿Í»§ÔÚËÑË÷Ч¹ûÖÐÓöµ½ÕâÖÖÇ®±Ò²»Æ¥ÅäÎÊÌ⣬£¬£¬£¬£¬£¬ÔòÄúÐèÒª±à¼ÊÐËÁµÄÄ£°å£¬£¬£¬£¬£¬£¬ÒÔ±ãËü°üÀ¨ÓйØÄúÏúÊÛ²úÆ·ËùÓõÄÇøÓòÉèÖúÍÇ®±ÒµÄÐÅÏ¢¡£¡£¡£¡£¡£¡£¡£¡£ÔÚ´ó´ó¶¼ÇéÐÎÏ£¬£¬£¬£¬£¬£¬Äú¿ÉÒÔͨ¹ýµ÷½âÄ£°åÖеÄÒÔÏÂÉèÖÃÀ´ÊµÏÖ´ËÄ¿µÄ£º
½á¹¹»¯Êý¾Ý
hreflang Á´½Ó
¹æ·¶ URL ÉèÖÃ
¼ÙÉèÄúÔÚ°Ä´óÀûÑǺÍÐÂÎ÷À¼ÏúÊÛ²úÆ·¡£¡£¡£¡£¡£¡£¡£¡£Ò»Î»ÐÂÎ÷À¼¿Í»§ËÑË÷ÄúµÄ T Ðô¡£¡£¡£¡£¡£¡£¡£¡£ÔÚËÑË÷Ч¹ûÖУ¬£¬£¬£¬£¬£¬Ëû¿´µ½ÁËÒÔ°ÄÔªÏÔʾµÄ¼ÛÇ®£¨20 °ÄÔª£©¡£¡£¡£¡£¡£¡£¡£¡£µ±´Ë¿Í»§µã»÷Ч¹ûʱ£¬£¬£¬£¬£¬£¬Ëû±»¶¨Ïòµ½ÐÂÎ÷À¼°æ±¾µÄ T Ðô²úÆ·Ò³Ãæ¡£¡£¡£¡£¡£¡£¡£¡£ÔÚ´ËÒ³ÃæÉÏ£¬£¬£¬£¬£¬£¬ÄúµÄ¿Í»§¿´µ½ÒÔÐÂÎ÷À¼ÔªÏÔʾµÄ¼ÛÇ®£¨22 ÐÂÎ÷À¼Ôª£©¡£¡£¡£¡£¡£¡£¡£¡£¿£¿£¿£¿£¿£¿£¿£¿Í»§·¢Ã÷ËÑË÷Ч¹ûºÍ²úÆ·Ò³ÃæÖ®¼äµÄ¼ÛÇ®±£´æ²î±ð²¢ÇÒ¸ÐÓ¦ÒÉÐÄ¡£¡£¡£¡£¡£¡£¡£¡£Òò´Ë£¬£¬£¬£¬£¬£¬´Ë¿Í»§Ã»ÓÐÁ¬Ã¦¾ÙÐйºÖᣡ£¡£¡£¡£¡£¡£¡£
±¸×¢£º´ËÒ³ÃæÉϵÄÄÚÈݽöÌṩһÑùƽ³£ÐÅÏ¢¡£¡£¡£¡£¡£¡£¡£¡£ÈôÊÇÄúÓÐÓëËÑË÷Ч¹ûºÍÇ®±ÒÏà¹ØµÄÎÊÌ⣬£¬£¬£¬£¬£¬ÇëÁªÏµ SEO ר¼Ò¡£¡£¡£¡£¡£¡£¡£¡£Äú¿ÉÒÔͨ¹ý Shopify µÄר¼ÒÊг¡À´ÁªÏµ×¨¼Ò¡£¡£¡£¡£¡£¡£¡£¡£
ʹÓýṹ»¯Êý¾Ý
Äú¿ÉÒÔʹÓÃÒ³ÃæÄÚ±ê¼ÇÀ´½á¹¹Êý¾Ý£¬£¬£¬£¬£¬£¬ÒÔ±ãËü¼û¸æËÑË÷ÒýÇæÄúÏúÊÛ²úÆ·ËùʹÓõÄÇ®±Ò¡£¡£¡£¡£¡£¡£¡£¡£ËÑË÷ÒýÇæÊ¹Óýṹ»¯Êý¾Ý¶ÔÄúÒ³ÃæÉϵÄÄÚÈݾÙÐзÖÀà¡£¡£¡£¡£¡£¡£¡£¡£½á¹¹»¯Êý¾Ý»¹ÓÃÓÚÆôÓÃËÑË÷Ч¹û¹¦Ð§£¬£¬£¬£¬£¬£¬ÀýÈçÔÚЧ¹ûÖÐÏÔʾ²úÆ·¼ÛÇ®¡£¡£¡£¡£¡£¡£¡£¡£
¹ØÓÚÄúÖ§³ÖµÄÿÖÖÇ®±Ò£¬£¬£¬£¬£¬£¬ÄúÐèҪʹÓà product ½á¹¹»¯Êý¾ÝÀàÐͲ¢°üÀ¨ priceCurrency ÊôÐÔ¡£¡£¡£¡£¡£¡£¡£¡£´ËÊôÐÔÐÎòǮ±Ò£¨½ÓÄÉ ISO 4217 ÃûÌã©£¬£¬£¬£¬£¬£¬²¢ÇÒÐèÒª½«ÆäÉèÖÃΪ cart.currency.iso_code£¨²»ÊÇ shop.currency£©¡£¡£¡£¡£¡£¡£¡£¡£
Debut Ä£°å¶Ô½á¹¹»¯Êý¾ÝʹÓòî±ðµÄÃûÌ㬣¬£¬£¬£¬£¬¿ÉʡȥÕâЩ°ì·¨¡£¡£¡£¡£¡£¡£¡£¡£ÈôÊÇÄúʹÓà Debut£¬£¬£¬£¬£¬£¬Äú¿ÉÒÔÌø¹ýÕâЩ°ì·¨£¬£¬£¬£¬£¬£¬²¢´ÓʹÓà hreflang ÊôÐÔ×îÏÈ¡£¡£¡£¡£¡£¡£¡£¡£
°ì·¨£º
ÔÚÄúµÄÄ£°åÖÐËÑË÷ǶÌ×ÔÚ
offersitemscope ÖеÄpriceCurrencyÊôÐÔ¡£¡£¡£¡£¡£¡£¡£¡£Í¨³££¬£¬£¬£¬£¬£¬priceCurrencyÔÚ Sections Îļþ¼ÐÖÐµÄ product-template.liquid ÖоÙÐнç˵¡£¡£¡£¡£¡£¡£¡£¡£ÈôÊÇÕÒ²»µ½´ËÊôÐÔ£¬£¬£¬£¬£¬£¬Ç뽫ÆäÌí¼Óµ½ Sections/product-template.liquid¡£¡£¡£¡£¡£¡£¡£¡£ÇëÈ·±£½«
priceCurrencyÉèÖÃΪcart.currency.iso_code¡£¡£¡£¡£¡£¡£¡£¡£
ÀýÈ磬£¬£¬£¬£¬£¬ÄúµÄ´úÂëÓ¦ÈçÏÂËùʾ£º
<div itemscope itemtype=¡±http://schema.org/Product . . . <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <meta itemprop="priceCurrency" content="{{ cart.currency.iso_code }}" /> . . . </div>Äú¿ÉÒÔʹÓýṹ»¯Êý¾Ý²âÊÔ¹¤¾ßÀ´²âÊÔÄúµÄ¸ü¸Ä¡£¡£¡£¡£¡£¡£¡£¡£
ʹÓà hreflang ÊôÐÔ
Äú¿ÉÒÔʹÓà hreflang ÊôÐÔÀ´¼û¸æËÑË÷ÒýÇæÄúµÄ²úÆ·Ò³ÃæµÄ²î±ð°æ±¾¡£¡£¡£¡£¡£¡£¡£¡£¹ØÓÚÄúÏúÊÛ²úÆ·ËùÓõÄÿÖÖÇ®±Ò£¬£¬£¬£¬£¬£¬ÄúÐèÒªÖ¸¶¨Ç®±ÒÓ¦Óõ½µÄÓïÑÔ£¨ISO 639-1 ÃûÌ㩺͵ØÇø£¨ISO 3166-1 Alpha 2 ÃûÌã©¡£¡£¡£¡£¡£¡£¡£¡£
°ì·¨£º
·¿ªÄúµÄ theme.liquid Îļþ¡£¡£¡£¡£¡£¡£¡£¡£´ËÎļþÓ¦°üÀ¨
<link ... >ÔªËØ¡£¡£¡£¡£¡£¡£¡£¡£¹ØÓÚÄúÏúÊÛ²úÆ·ËùÓõÄÿÖÖÇ®±Ò£¬£¬£¬£¬£¬£¬ÇëÈ·ÉúÑÄÔÚ
link rel=alternateÔªËØ£¬£¬£¬£¬£¬£¬ÀýÈçÒÔÏÂÔªËØ£º
<link rel="alternate" hreflang="LANG-CTRY" href=/channel/"{{ canonical_url}}?currency=XXX" />`.ÀýÈ磬£¬£¬£¬£¬£¬ÈôÊÇÄúÒÔÃÀÔª¡¢Ó¢°÷ºÍÈÕÔª¾ÙÐÐÏúÊÛ£¬£¬£¬£¬£¬£¬ÇëÈ·±£ÄúµÄ theme.liquid °üÀ¨ÒÔÏÂÐУº
<head> ... <link rel="alternate" hreflang="en-us" href="{{ canonical_url }}?currency=USD" /> <link rel="alternate" hreflang="en-gb" href="{{ canonical_url }}?currency=GBP" /> <link rel="alternate" hreflang="ja-jp" href="{{ canonical_url }}?currency=JPY" /> ... </head>ÈôÊÇÄúÒÔÅ·Ôª (EUR) ¾ÙÐÐÏúÊÛ£¬£¬£¬£¬£¬£¬ÔòÐèÒªÖ¸¶¨ÄúÖ§³ÖµÄÇøÓòÉèÖã¨ÓïÑÔ/¹ú¼Ò/µØÇø£©¡£¡£¡£¡£¡£¡£¡£¡£¹ØÓÚÄúÖ§³ÖµÄÿ¸öÅ·ÔªÇøÓòÉèÖ㬣¬£¬£¬£¬£¬ÇëΪ¸ÃÇøÓòÉèÖÃÌí¼ÓÒ»¸ö <link> ÔªËØ²¢°üÀ¨Ò»¸ö hreflang ÊôÐÔ¡£¡£¡£¡£¡£¡£¡£¡£
ÀýÈ磬£¬£¬£¬£¬£¬Ï·½´úÂëÐпɼû¸æËÑË÷ÒýÇæÓ¦Ïò·¨¹úµÄ·¨ÓïÓû§¡¢µÂ¹úµÄµÂÓïÓû§ÒÔ¼°ºÉÀ¼µÄÓ¢ÓïºÍºÉÀ¼ÓïÓû§ÏÔʾÒÔÅ·ÔªÏÔʾµÄ²úÆ·Ò³Ãæ£º
... <link rel="alternate" hreflang="fr-fr" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="de-de" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="en-nl" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="nl-nl" href="{{ canonical_url }}?currency=EUR" /> ...Ìí¼Ó
link rel=alternateÔªËØ²¢½«hreflangÉèÖÃΪx-default¡£¡£¡£¡£¡£¡£¡£¡£µ±¿Í»§À´×ÔÄú²»Ö§³ÖµÄÇøÓòÉèÖÃʱ£¬£¬£¬£¬£¬£¬ËÑË÷ÒýÇæ»áʹÓô˻ØÍËÁ´½Ó£º
<link rel="alternate" hreflang="x-default" href="{{ canonical_url }}" />°ì·¨ 3£ºÊ¹Óù淶 URL
Äú¿ÉÒÔ¼û¸æËÑË÷ÒýÇæÒªÓÃ×÷¹æ·¶ URL µÄ URL¡£¡£¡£¡£¡£¡£¡£¡£Õâ»á¼û¸æËÑË÷ÒýÇæ£¬£¬£¬£¬£¬£¬ËùÒýÓõĹú¼Ò/µØÇøÌض¨Ò³ÃæÊÇÒ»¸öÆæÒìµÄ×ÔÁ¦Ò³Ã棬£¬£¬£¬£¬£¬¶ø²»ÊÇÁíÒ»¸öÒ³ÃæµÄ¸±±¾¡£¡£¡£¡£¡£¡£¡£¡£ÉèÖú󣬣¬£¬£¬£¬£¬Õâ¿É×ÊÖúËÑË÷ÒýÇæÈ·¶¨ÒªÏÔʾµÄÇ®±Ò¡£¡£¡£¡£¡£¡£¡£¡£ÇëʹÓà <link rel="canonical" href="{{ canonical_url }}"> ²¢°üÀ¨ cart.currency.iso_code¡£¡£¡£¡£¡£¡£¡£¡£
°ì·¨£º
ÔÚ theme.liquid ÖУ¬£¬£¬£¬£¬£¬ËÑË÷¹æ·¶Á´½Ó¡£¡£¡£¡£¡£¡£¡£¡£ÈôÊÇÕÒ²»µ½´ËÁ´½Ó£¬£¬£¬£¬£¬£¬ÔòÌí¼ÓÒ»¸öÁ´½Ó£º
<link rel="canonical" href="{{ canonical_url }}>"ÇëÈ·±£ÄúµÄ¹æ·¶ URL °üÀ¨
cart.currency.iso_code£º
<link rel="canonical" href="{{ canonical_url }}?currency={{ cart.currency.iso_code }}" />ShopifyÉÌ»§¹ÙÍøÔÎÄÏêÇ飺
Localize your product prices for search engines
Note
This customization is for vintage Shopify themes, and doesn't apply to Online Store 2.0 themes.
Find out your theme's architecture version
Explore Online Store 2.0 theme customizations
Update your theme to make sure that the prices that appear in search engine results match your customers' currencies.
Search engines often return the price of a product in their search results. When you sell in multiple currencies, sometimes the currency in the results doesn't match your customer's local currency.
If your customers are experiencing this type of currency mismatch in their search results, then you need to edit your store's theme so that it includes information about the locales and currencies that you sell in. In most cases, you can do this by adjusting the following settings in your theme:
structured data
hreflang links
canonical URL settings
For example, you sell in Australia and New Zealand. A customer in New Zealand searches for your t-shirt. In their search results, they see the price in Australian dollars ($20 AUD). When this customer clicks on the result, they are directed to the New Zealand version of the t-shirt's product page. On this page, your customer sees the price in New Zealand dollars ($22 NZD). The customer notices the differences in price between the search results and the product page and is confused. This customer delays making a purchase.
Note
The content on this page is provided for general information only. If you have issues related to search results and currency, then contact an SEO expert. You can contact experts through Shopify's Experts Marketplace.
Use structured data
You can use in-page markup to structure your data so that it tells search engines about the currencies that you sell in. Structured data is used by search engines to classify the content on your pages. It is also used to enable search result features, such as displaying the price of a product in the results.
For each currency that you support, you need to use the
productstructured data type and include thepriceCurrencyproperty. This property describes the currency (in ISO 4217 format), and it needs to be set tocart.currency.iso_code(notshop.currency).The Debut theme uses a different format for structured data, making these steps unnecessary. If you use Debut, then you can skip these steps and start at Use hreflang attributes.
Steps:
Search your theme for the
priceCurrencyproperty that is nested in anoffersitemscope. Usually,priceCurrencyis defined in the product-template.liquid in the Sections folder. If you can¡¯t find this property, then add it to Sections/product-template.liquid.Make sure that
priceCurrencyis set tocart.currency.iso_code.For example, your code should look like the following:
<div itemscope itemtype=¡±http://schema.org/Product . . . <div itemprop="offers" itemscope itemtype="http://schema.org/Offer"> <meta itemprop="priceCurrency" content="{{ cart.currency.iso_code }}" /> . . . </div>You can use the Structured Data Testing Tool to test your changes.
Use hreflang attributes
You can use
hreflangattributes to tell search engines about the different versions of your product pages. For each currency that you sell in, you need to specify the language (ISO 639-1 format) and region ( ISO 3166-1 Alpha 2 format) that the currency applies to.Steps:
Open your theme.liquid file. This file should contain
<link ... >elements.For each currency that you sell in, make sure that there is a
link rel=alternateelement, such as the following element:<link rel="alternate" hreflang="LANG-CTRY" href=/channel/"{{ canonical_url}}?currency=XXX" />`.For example, if you sell in USD, GBP, and JPY currencies, then make sure that your theme.liquid contains the following lines:
<head> ... <link rel="alternate" hreflang="en-us" href="{{ canonical_url }}?currency=USD" /> <link rel="alternate" hreflang="en-gb" href="{{ canonical_url }}?currency=GBP" /> <link rel="alternate" hreflang="ja-jp" href="{{ canonical_url }}?currency=JPY" /> ... </head>If you sell in euros (EUR), then you need to specify the locales (language/country) that you support. For each EUR locale that you support, add a
<link>element and include anhreflangattribute for that locale.For example, the following lines tell the search engine that the EUR version of the product page should be shown to French speakers in France, German speakers in Germany, and both English and Dutch speakers in the Netherlands:
... <link rel="alternate" hreflang="fr-fr" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="de-de" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="en-nl" href="{{ canonical_url }}?currency=EUR" /> <link rel="alternate" hreflang="nl-nl" href="{{ canonical_url }}?currency=EUR" /> ...
Add a
link rel=alternateelement and set thehreflangtox-default. Search engines use this fallback link when your customer is from a locale that you don¡¯t support:<link rel="alternate" hreflang="x-default" href="{{ canonical_url }}" />Step 3: Use a canonical URL
You can tell the search engine what URL to use as the canonical URL. This tells a search engine that the country-specific page being referred to is a distinct, stand-alone page, rather than a duplicate of another page. When set, this helps the search engine determine what currency to display. Use
<link rel="canonical" href="{{ canonical_url }}">and include thecart.currency.iso_code.Steps:
In theme.liquid, search for the canonical link. If you can't find this link, then add one:
<link rel="canonical" href="{{ canonical_url }}>"
Make sure that your canonical URL includes the
cart.currency.iso_code:<link rel="canonical" href="{{ canonical_url }}?currency={{ cart.currency.iso_code }}" />
ÎÄÕÂÄÚÈÝȪԴ£ºShopifyÉÌ»§¹Ù·½ÍøÕ¾
- 1lazadaÔõÑù½¨Éè Feed (ÊÖ»ú¶Ë)£¿£¿£¿£¿£¿£¿£¿£¿
- 2neweggÉ̼ÒÅúÁ¿½¨Éè±äÌå×éµÄÒªÁì°ì·¨
- 3shopee±¾ÍÁºÅµêËÁÓ¦¸ÃÔõÑù·¢»õ
- 4³¬µÈµê³¤ÉÏ´«ºÍ¸´ÖÆ·ÏÎïµÄ°ì·¨
- 5Shopee µêËÁ¹Ø±ÕÈ«Á÷³Ì
- 6µÂ¹úÕ¾VAT×¢²áÓÃ¶ÈÆÊÎö£ºÏàʶ±¾Ç®ÓëÔ¤Ëã
- 7Êý×ÖÓªÏúµÄÀûÒæÊÇʲô£¿£¿£¿£¿£¿£¿£¿£¿
- 8ÍâóӪҵƱ¾ÝÓÐÄÄЩ£¿£¿£¿£¿£¿£¿£¿£¿
- 9ÈÃ×ÔÁ¦Õ¾ÏúÁ¿ÔöÌíµÄ4¸öÕ½ÂÔ
- 10¶þÊ®¸ö¹ØÓÚ¿ç¾³µçÉÌÆ½Ì¨ÔËÓªÎÊÌ⣡