WPIntell

Source evidence

Compatibility with WooCommerce CSV import

AutoConvert Greeklish Permalinks · support · 2019-12-04T12:01:00+00:00

complaintsentiment
mediumseverity
0.88relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
d.chatzimanolis unresolved
Hi, I would like to ask you if your plugin is compatible with the default WooCommerce CSV import. I am currently uploading multiple products via CSV on my shop but in order to get latin characters on slugs I have changed the below core file of WooCommerce: 1) file path : /woocommerce/includes/import/abstract-wc-product-importer.php 2) functions – set_variation_data (line no-460) – get_variation_parent_attributes (line no-513) 3) old code if ( $attribute_id ) { $attribute_name = wc_attribute_taxonomy_name_by_id( $attribute_id ); } else { $attribute_name = sanitize_title( $attribute[‘name’] ); } 4) new code if ( $attribute_id ) { $attribute_name = wc_attribute_taxonomy_name_by_id( $attribute_id ); if ( ‘el’ === get_locale() ) { $attribute_name = sanitize_title( $attribute_name ); } } else { $attribute_name = sanitize_title( $attribute[‘name’] ); } The above change works for me but I have to replace the file at every update of the plugin. Is it maybe possible via your plugin to change the Greek slugs to Latin at the product names and attributes after their CSV import? Can it maybe handle this in a way that even I have the names with Greek letters on CSV, they will be imported with latin letters on their slugs? I am asking you this because my current used theme doesn’t support greek letters at slugs of the attributes (it causes issues on their front-end appearance). I am not sure if this is a default WooCommerce behaviour for Greek letters due to 28 characters limitation on slugs. Thank you in advance.

Comments

0 shown

No comments were stored for this source.