vncoder
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce] Import Products With Multiple AttributesIt is working now.
The problem occurred when I manually select the field mappings.
If I let the Import assigns the field mappings then everything imports completely.
Forum: Plugins
In reply to: [WooCommerce] Import Products With Multiple AttributesI tried to export the products after adding in additional attributes, delete the products then import the exact same CSV file.
I get the same result, only the first and the last attributes assigned to the products.
Anyone have any idea what is going on? How do I import products with three or more attributes.
Forum: Plugins
In reply to: [WooCommerce] Why function wc_scheduled_sales set the sale_from_date to blankHi @rainfallnixfig,
I am not querying regarding the behaviour. The behaviour is consistence with the code. This means there is no conflict with the theme that I am using.
The source code for the function wc_scheduled_sales (from line 436):
https://woocommerce.github.io/code-reference/files/woocommerce-includes-wc-product-functions.html#source-view.436The source code on Github (trunk branch)
https://github.com/woocommerce/woocommerce/blob/trunk/plugins/woocommerce/includes/wc-product-functions.phpThe source code checks explicitly if the product exists and the sale price exists for the product, then set the Display Price to the Sale Price AND set the Sale From Date to blank.
My original question was why the function set the sale from date to blank?
Let’s disregard the issue of Google Shopping flagging the product.
Destroying/deleting data for any logic is a bad design. Once cleared, we don’t know when the start date of the sale.
I have commented out that line that clears the Sale From Date on my eCommerce site. It is working perfectly. No more errors from Google Shopping.