- Posts: 303
- Thank you received: 18
ShipStation Product Variant Import Problem
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
7 years 9 months ago #301787
by mojooutdoors-holden
ShipStation Product Variant Import Problem was created by mojooutdoors-holden
-- HikaShop version -- : 3.5.1
Product variants in orders that are imported into ShipStation are showing additional html. See below screenshot.
I need to remove the <span></span> part and keep the variant name. E.g.,
should be changed to
Product variants in orders that are imported into ShipStation are showing additional html. See below screenshot.
I need to remove the <span></span> part and keep the variant name. E.g.,
Code:
Elite Series - Blue Wing Teal Wings<span class="hikashop_product_variant_subname">: Left Wing</span>
Code:
Elite Series - Blue Wing Teal Wings: Left Wing
Please Log in or Create an account to join the conversation.
7 years 9 months ago - 7 years 9 months ago #301810
by Philip
Replied by Philip on topic ShipStation Product Variant Import Problem
Hello,
You can you try to modify the Name :
For this follow me step by step :
- Open your file "shipstation.php" in YourWebsite\plugins\system\shipstation folder
- Around line 340, look for this :
Modify :
To get this :
Awaiting news from you.
Regards
You can you try to modify the Name :
For this follow me step by step :
- Open your file "shipstation.php" in YourWebsite\plugins\system\shipstation folder
- Around line 340, look for this :
Modify :
Code:
[b]<Name><![CDATA[' . (string)$product->order_product_name . ']]></Name>[/b]
Code:
[b]<Name><![CDATA[' . substr(strip_tags($product->order_product_name), 0, 127) . ']]></Name>[/b]
Awaiting news from you.
Regards
Last edit: 7 years 9 months ago by Philip.
The following user(s) said Thank You: mojooutdoors-holden
Please Log in or Create an account to join the conversation.
- mojooutdoors-holden
-
Topic Author
- Offline
Less
More
- Posts: 303
- Thank you received: 18
7 years 9 months ago #301907
by mojooutdoors-holden
Replied by mojooutdoors-holden on topic ShipStation Product Variant Import Problem
This seems to have worked. We are currently in a maintenance period, so I won't know for sure until after this period once orders start coming in. I will keep you updated. Thanks Philip!
Please Log in or Create an account to join the conversation.
Time to create page: 0.149 seconds