Prices - Sales, Fixed Prices
Fixed Prices Support
GEM can support a fixed price list per country. To implement this, GEM needs to be able to read the country price lists embedded within the DOM.
To enable this feature, the Global-e Module must be able to read country-specific price lists embedded within the Document Object Model (DOM).
To implement fixed prices;
On your entire storefront, including the cart page, ensure that fixed prices include a "data-fp" attribute containing country-specific price details formatted as follows:
{"DE":200,"FR":210,"US":218,"AU":310}
The following example shows how to present the fixed price data attribute on your site:
<div data-fp='{"FR":200,"US":218,"AU":310,"NZ":332}'> £151.50 </div>
Default prices
The Global-e Module fixed prices feature also supports a default price for a specific currency.
For instance, you can set several price lists for specific EU countries and a default price for all other EU countries, as illustrated below:
{defaults: {"EUR": 198, "USD": 215}, "DE":200,"FR":210,"US":218,"AU":310}
Note
Note that this feature is only applicable to countries for which the default currency is identified in the defaults section.
The country's price currency is the default currency for the specific country.
Final Sale or Non-Returnable Products
To mark products as final sale or non-returnable products in the international checkout, add metadata attributes to your getCheckoutCartInfo
as shown in the following example.
{ "productsList": [ { "ProductCode": "4296032", "ProductGroupCode": "697662", . . . }, "MetaData": { "Attributes": [ { "AttributeKey": "final-sale", "AttributeValue": "final-sale" } ] } } ] }
Non-returnable products prevent customer-initiated returns on the Returns Portal, but Customer Support Representatives (CSR) can override this restriction.
Note
While we recommend keeping the final sale attribute as illustrated, you can request the Global-e project team to adjust it according to your preference.