Questions tagged [wpallimport]

WP All Import is a Wordpress plugin used to map the data in a XML or CSV file to the appropriate fields in WordPress.The plugin works with any theme, any plugin, and supports images, Custom Fields, taxonomies, Custom Post Types, dates, every other WordPress field.

WP All Import is a Wordpress plugin used to map the data in a XML or CSV file to the appropriate fields in WordPress.The plugin works with any theme, any plugin, and supports images, Custom Fields, taxonomies, Custom Post Types, dates, every other WordPress field.

172 questions
5
votes
2 answers

WP All Import Pro: Polylang compatibility

I'm trying to import data from an Excel sheet into WordPress with the Pro version of WP All Import. We are using Polylang for multi language support. I wonder how to manage importing the content into the correct language versions. I discovered that…
Christian
  • 61
  • 1
  • 3
4
votes
1 answer

PHP mt_random on a loop from WP ALL Import for Woocommerce , Wordpress

I am using WP All Import, and I use this code to do an exchange rate. I would like to do a discount randomly at the same time after converting it to my currency. This is the code function add_exchangerate($x) { $markup = 20; $y = $x * $markup; …
ingalcala
  • 1,785
  • 3
  • 14
  • 24
3
votes
2 answers

Change WooCommerce product type and update status in the same time

I have an XML feed of producs, WordPress (last version), WpAllImport Pro (last version) and WooCommerce (last version) and I want to update my products periodically. In order to update my products, I need to make something with the old ones that…
Stefan Iordache
  • 267
  • 2
  • 14
2
votes
0 answers

WP ALL IMPORT XML different amount of attributes per-product

I am trying to import different amount of attributes for each product, instead of adding manually each attribute I want to make it automatically, I tried to use FOREACH but it is not working as I…
Kam
  • 21
  • 2
2
votes
0 answers

WP ALL IMPORT dont update stock

Is it possible to leave stock out of sync when creating or updating products? For example can I use something like this: function my_saved_post( $post_id, $xml_node, $is_update ) { $original_stock = get_post_meta($id, '_stock', true); …
netdev
  • 496
  • 1
  • 5
  • 22
2
votes
0 answers

WP All Import - Map value from function editor in an attribute term

The code below runs in function editor when I import my product sheet. How can I map the value from $result as the attribute term color?
SavPhill
  • 636
  • 6
  • 24
2
votes
2 answers

WP All Export: how to pass exported data through PHP function

I'm trying to build custom export column in WP All Export but I can not get what I'm trying to achieve. I need column 'For Payment', where I need to place actual order total in case the payment method is COD. Otherwise it should return 0 (required…
Karnak
  • 21
  • 2
  • 7
  • 21
2
votes
1 answer

WP All Import - Convert date to a unix timestamp when importing via a php function

I am using WP All Import plugin for Wordpress and trying to import a date cell but I need it converting from a user friendly date to a unix timestamp. 23/04/2021 13:50 to 1606694400 WP All Import allows me to run a php function when importing into…
Alex Banks
  • 27
  • 1
  • 14
2
votes
2 answers

How can you improve the speed of the WpAllImport for updating prices?

I have installed the Wp All Import plugin on my WordPress website. I am using it to update the product prices. All the prices are of type External, as it is an affiliate website. I have around 44,000 products and the way I update them using the…
Dragos Cazangiu
  • 207
  • 1
  • 3
  • 14
2
votes
1 answer

WP All Import / Wordpress - Only import product if full category path exist

We need to import a lot of products on our website, so it is very important when we import from a csv/xml file it does not import categories which is not already on our website. We use a plugin called WP All Import, where you can add a filter if a…
2
votes
1 answer

Auto assign Woocommerce Product Categories from Product Tags on import

I am trying to set automatically Woocommerce Product Categories from Product Tags when importing products using WP All Imports plugin. For example: I am importing specific breadcrumb slugs as Product tags: Sports/Shoes/Running Shoes > Now I wanne…
2
votes
1 answer

How to import data from csv file in which comma used instead decimal point in prices using wp all import?

I am using wp all import to import products. My all prices are with comma instead of decimal point(.). When I use condition to get all product which price less than 11,5 it returns zero result. It could not recognise comma.
2
votes
0 answers

WP All Import and custom field which has relationship

I'm working with WP All Import plugin to import several new records to my custom post created with Pods - Custom Content Types and Fields plugin. I can easily import fields that have no relationships, but with the 1 field which has relationship I…
2
votes
1 answer

How do you format the xpath value in WP ALL IMPORT for select advanced custom fields?

I have a select field for an advanced custom fields field. It is a dropdown of all the states. I am trying to import a spreadsheet, for which one of the columns is states. What I would like to do is set the value of the select field to be the value…
Philip
  • 569
  • 2
  • 5
  • 27
2
votes
1 answer

WP All import with Advanced Custom Fields, does not display correctly until after post is saved manually

I've got some custom templates on a custom post type. I have a repeater field where the content is processed on the page template. The processing does not work correctly after importing the data unless the posts are saved manually from the WP…
1
2 3
11 12