> For the complete documentation index, see [llms.txt](https://docs.xorosoft.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.xorosoft.com/xoroerp-1/connected-apps/shopify/configuration-settings/products-and-inventory/products.md).

# Products

<figure><img src="/files/o5xA2f4LfWTHFegboeDP" alt=""><figcaption><p>Sync Products Settings</p></figcaption></figure>

The *product sync* settings allow you to create products as well as send product updates from Xoro to Shopify. This configuration ensures that product information remains consistent and up-to-date across both platforms, thereby minimizing manual effort and data discrepancies.

The following configurable options are provided under Product Sync Settings:

* **Item Price Currency Code**: This dropdown allows users to specify the currency code in which item prices should be communicated to Shopify. It ensures that price values align with the currency used in the Shopify store, especially important for businesses dealing with multiple regions or international pricing models.
* **Price Field**: Users can select the specific price field from XoroERP (e.g., base price, retail price) that should be mapped and transmitted as the primary product price in Shopify. This allows flexibility depending on pricing strategies configured in Xoro.
* **Compare Price Field**: This field enables users to define a secondary pricing field—commonly used for showing discounted or slashed prices in Shopify. The selected field in XoroERP will be synced as the “Compare at” price in Shopify listings.
* **Buying Cost**: The buying cost field lets users map internal procurement or cost-of-goods data from XoroERP to Shopify. This is particularly useful for cost tracking, margin analysis, and backend financial reporting, even if it’s not displayed on the Shopify front end.
* **Select Fields from List Which Needs to Update:** This multi-select field allows users to choose the specific product fields (e.g., title, description, tags, SKU, etc.) that should be updated in Shopify when product synchronization occurs. For example, users can select **Update Images** from the list to include product images in the synchronization process. When enabled, image changes made in XoroERP are synced to Shopify during product updates.
* **Track Quantity**: When this toggle is enabled, any new products created through XoroERP will have inventory tracking turned on in Shopify. This ensures accurate real-time stock management, helping prevent overselling or stockouts.

<figure><img src="/files/18900CBpabDN1mOAUbSk" alt=""><figcaption><p>Pull Products Setting</p></figcaption></figure>

The pull product settings allows you to create products as well as send product updates for active products from Shopify to Xoro. The configurable options are:

1. **Inventory Asset Account:** This field allows you to select the inventory asset account for items   \
   being imported from Shopify.&#x20;
2. **Cost of Goods Sold Account:** This field allows you to select the cost of goods sold account for items   \
   being imported from Shopify.
3. **Sales Account:** This field allows you to select the sales account for items   \
   being imported from Shopify.
4. **Inventory Adjustment Account:** This field allows you to select the inventory adjustment account for items   \
   being imported from Shopify.
5. **Income Return Account:** This field allows you to select the income return account for items   \
   being imported from Shopify.
6. **Item Price Assignment:** This field allows you to select which item price field will be populated in XoroERP based on the data from Shopify.
7. **Base Part Number Resolution Type:** This field allows you to select how the Base Part Number should be derived and created in XoroERP: Metafield, Product ID or Regular Expression.
8. **Base Part Number Resolution String:** This field allows you to define how the Base Part Number should be generated if the resolution type is Metafield or Regular Expression.&#x20;
   * **Metafield**: Enter the "namespace,key" pair in a comma separated format to fetch the Base Part Number.
   * **Regular Expression**: Enter the regex to be applied to the variant to generate the Base Part Number.
9. **Pull Draft Products:** If enabled, draft products will also be included when syncing from Shopify.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.xorosoft.com/xoroerp-1/connected-apps/shopify/configuration-settings/products-and-inventory/products.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
