Adobe Commerce 2: Pulling Product Specifications with Yotpo Reviews Extension 2.4.5-3.3.0
    • Dark
      Light

    Adobe Commerce 2: Pulling Product Specifications with Yotpo Reviews Extension 2.4.5-3.3.0

    • Dark
      Light

    Article summary

    Products


    Reviews
    Supported plans

    Free, Growth, Prime, Premium, Enterprise

    eCommerce Platform

    Adobe Commerce (Magento)

    Product specifications are sent to Yotpo together with information on orders that have been placed in your shop. This information is then inserted into your Yotpo product catalog and is used for features such as Google Shopping and Syndication.

    The specs required for these features are:

    • UPC
    • MPN + Brand
    • ISBN

    Adding specs to your products

    Only the SKU attribute appears in Adobe Commerce by default:UPC, MPN + Brand, and ISBN attributes must be manually added by using Adobe Commerce's Attributes feature

    To manually add the product specifications:

    1. In your Adobe Commerce dashboard, go to Catalog.
    2. Click on Products.
    3. Click on a product.
    4. Click the Add Attribute button:
      Please note:
      Each attribute has a label - the name you see in your Adobe Commerce admin, and a code - a unique product identifier for that label. The same attribute label may exist across different attributes, but the attribute code is unique per attribute:
    5. Click the Create New Attribute button:
    6. Give the Attribute Code the correct name so that the Yotpo Plugin can recognize it:
      UPC = upc
      ISBN = isbn
      MPN = mpn
      Brand = brand
      Shell
      'specs'       => array_filter(
                                      [
                                      'external_sku' => $product->getSku(),
                                      'upc'          => $product->getUpc(),
                                      'isbn'         => $product->getIsbn(),
                                      'mpn'          => $product->getMpn(),
                                      'brand'        => $product->getBrand(),
    7. Finally, go back to the relevant product and scroll down to the Attributes section. You can now fill in the specification code:Once the attributes are created, they get automatically pulled into the product catalog with each order sent to Yotpo.
    Please note:
    If a product isn't ordered, we will not have it’s attributes automatically in the product catalog.

    Changing existing attribute codes

    If you've set the attribute codes in a different way,  we can still pull them by using one of the following steps:

    1. Re-create the attribute

    Re-create the attribute and have it appear twice in Adobe Commerce:Yotpo will only pull the attribute with the correct attribute code:

    'specs'       => array_filter(
                                    [
                                    'external_sku' => $product->getSku(),
                                    'upc'          => $product->getUpc(),
                                    'isbn'         => $product->getIsbn(),
                                    'mpn'          => $product->getMpn(),
                                    'brand'        => $product->getBrand(),

    2. Change the attribute code name in the plugin

    Go to the relevant file (see below) in the Yotpo Plugin and change the name of the attribute code in accordance with how they are set up in Adobe Commerce.

    Relevant file names according to your Yotpo Version

    Yotpo 2.7.5 and up:

    <Magento root folder>/vendor/yotpo/module-review/Helper/ApiClient.php 

    Under the function named: prepareProductsDataChange 

    what we pull in this location:

    Yotpo 2.7.4 and below:

    Under the function named:prepareProductsDataChange what we pull in this location:

    3. Consult a developer

    The attribute code can be changed on Adobe Commerce's side, however, it requires the help of a developer.

    Products


    Reviews
    Supported plans

    Free, Growth, Prime, Premium, Enterprise

    eCommerce Platform

    Shopify, Shopify Plus, Adobe Commerce (Magento), BigCommerce, WooCommerce, Volusion, Salesforce Commerce Cloud, Custom



    Was this article helpful?