Home Forums Plugins Import Shopify to WooCommerce Need Assistance with S2W Plugin: Importing Products as Simple with Custom Data A

Need Assistance with S2W Plugin: Importing Products as Simple with Custom Data A

  • Author
    Posts
  • #225145

    Majd Alkouifi
    Participant

    Dear Support team,

    I hope this message finds you well. I am currently using your S2W – Import Shopify to WooCommerce plugin, and I have encountered an issue that I need help resolving.

    Objective
    I am trying to achieve the following when importing products from Shopify:

    Ensure all imported products are created as simple products, even if they have variations in Shopify.
    Retain only specific fields: Title, Description, Weight, Price, Featured Image, and Shopify Product ID.
    Convert weight from grams (Shopify) to kilograms (WooCommerce) during import.
    Convert price from USD (Shopify) to MYR (WooCommerce) using a multiplier of 4.5.
    Issue
    Despite my efforts to implement these requirements via custom code hooked into the s2w_after_import_product action, the imported products:

    Remain as variable products instead of being converted to simple products.
    Do not update the weight or price fields as expected.
    Retain unnecessary fields, such as gallery images and additional metadata.
    Code I Tried
    Below is the code I used to attempt these changes:

    Result
    Unfortunately, this code does not work as expected. The products remain as variable products, and the weight and price fields are not updated during the import process.

    Request
    I kindly request your guidance or assistance with the following:

    Is the s2w_after_import_product hook the correct place to apply such customizations?
    Can the plugin be configured directly to handle these requirements without custom code?
    If custom code is necessary, could you provide recommendations or an example that works with the S2W plugin?
    Your assistance would be greatly appreciated, as this functionality is critical for our project.

    Thank you for your time and support.

You must be logged in to see replies to this topic. Click here to login or register