Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter makkh1

    (@makkh1)

    Hi Support

    Management decided each plugin should work separately. If the product is out-of-stock, it should activate the Notifier functions, but if its in-stock but price is indeterminate, then the other Enquire Price function should be activated.

    This issue is resolved.

    Thank you very much.

    Thread Starter makkh1

    (@makkh1)

    Hi Support

    Worked exactly as you described.

    Thank you very much.

    Thread Starter makkh1

    (@makkh1)

    Hi Julia

    I disabled WooCommerce background generation, and then uploaded 6 image files for 1 Astex SKU.
    See this pic for the 6 new image files: https://pasteboard.co/vWnMJ2uvlEPm.png

    I re-uploaded the same 6 images to the same 1 Astex SKU.
    See this pic for the 6 new image files + 6 “deadweights” created just now: https://pasteboard.co/MeMDCNRA3Fwm.png

    Then I ran the WP-CLI command:
    wp sirsc rawcleanup 1 product --v

    After 15 minutes, the command ended successfully, I checked the image files for 1 Astex SKU, all 12 files are still there. Is there something I have done wrongly?

    Thank you very much.

    Best regards

    Mak

    Thread Starter makkh1

    (@makkh1)

    Hi Julia

    Thanks once again.

    I installed WP-CLI on my Windows Server 2012r12 and ran the rawcleanup command for one product SKU as per your instructions:
    wp sirsc rawcleanup 1 product --v
    It seems to be processing all images for all my 20,000+ SKUs although only a few hundred SKUs are having images in them at this time. The command completed successfully without crashing, but ended up cleaning up only a faction of the images (much better than running it on the webbrowser cleaning up nothing).

    What could the reason be for not completely removing all the “deadweights”?

    Please see my attached screenshot.
    https://pasteboard.co/eGWLg5sxkFu5.png
    Take just 1 image file 1-6.jpg for example: a lot of old files are still there, eg. 1-6, 1-6-1, 1-6-2, 1-6-3. I uploaded the same 1-6.jpg 5 times for SKU 1, therefore only the last image file 1-6-4 is valid. All other 1-6-? are to be removed.

    Thank you very much.

    Best regards

    Mak

    Thread Starter makkh1

    (@makkh1)

    Hi Julia

    Thank you for your prompt reply. Much appreciated.

    Does disabling background generation of WooCommerce images prevent creating “deadweights”, did I get that correct? Because each time I upload a new set of image files for an SKU, the old set of image files are stubbornly still on the server as “deadweights”.

    I have about 20,000 SKUs now and all are simple products. No variations. I am doing some basic calculations: Each SKU has about 10 images. Therefore, I am having about 200,000 image files now. Running the regen tool will produce about 2,000,000 image files altogether.

    On a typical day, about 20 SKUs will have their images edited and re-uploaded. As mentioned earlier, a few hundred redundant “deadweight” files will be generated and these files need to be removed. Do you have a command line tool or command to clean up? The web tool kept crashing after working for a while, that is, it managed to process only a few hundred SKUs. There are several thousand SKUs left unprocessed. I cannot really see the “deadweights” removed. You also mentioned RAW cleanup, is this the correct way to do RAW cleanup? I clicked on just this one button: https://pasteboard.co/RvWKGqGZdE6O.png

    Where did I do wrongly?

    Thank you very much.

    Best regards

    Mak

Viewing 5 replies - 1 through 5 (of 5 total)