LEAX.SK
Forum Replies Created
-
Even after saving the product , or changing its stock values the main stock total doesnt update.
@fahadmahmood could you please help ?
Maybe its the same case here :
https://www.ads-software.com/support/topic/total-stock-not-updating-without-manual-save-post-after-wp-all-import/- This reply was modified 2 years, 11 months ago by LEAX.SK.
@andreasene thank you bery much for the link
looks like that code works for me as of nowForum: Plugins
In reply to: [LiteSpeed Cache] Guest mode + WP All Import + CRON not workingWP All Import has 2 CRONS:
– first is trigger CRON – just to start the importing proces
– second CRON is for processing – runs every 2 minutes for iteration etc.In total time imports can run even for hour and more – depending on the number of items.
I think that one iteration of the processing CRON time limitation is dependent on max_execution_time (but I could be wrong) — so 30 , 60 , 120 seconds … depends on server settings
Any idea how to overcome this problem and have Imports work alongside Guest mode?
This is the Total stock that Im fighting with after importing:
#65113 (M)
Ihne? k odberu (Ko?ice): 1
Externy sklad (dodanie 2-4 dni): 0
Total Stock: 0` — should be 1https://www.dropbox.com/s/ldqtj5ksxuzrfpd/Screenshot%202021-08-19%2022.26.44.png?dl=0
Is there something that should be added to WP All Import add_action(‘pmxi_saved_post’ ?
Ive added this code to product template (oxygen builder) and atleast the right stock numbers are showing in variations + you can add to cart .
BUT after adding to cart the woocommerce shows a notification that theres no stock amount. –> after visiting the product in administration the total stock are still wrong.
<?php
global $product;$product_id = $product->get_id();
$update_locations_stock = \SLW\SRC\Helpers\SlwProductHelper::update_wc_stock_status( $product_id, $stock_qty = null );
?>
There needs to be a way to fix it ://
Forum: Plugins
In reply to: [LiteSpeed Cache] Guest mode + WP All Import + CRON not workingHello qtwrk
yes those are already system CRON that start that specific URL from WP All Import
Hello @wpallimport , thanks for the reply , the import is complex and not so well structured.
Is there anything in the import records that indicate the product type? For example, let’s say that your variation attribute is “size” – is the size empty for simple products and never empty for variable products?
Do you mean to set the product type by xpath?
Are you planning to add an option to reorder the file before import by set node?
Hi , yes your plugin did the right thing , but just wanted to ask you for help because nothing worked ??
Solution: edit and resave product category
Tried woocommerce tools as expired transients, product lookup table, count etc. but nothing worked.