• Resolved imperiatus

    (@imperiatus)


    I have 2 problems:

    1 – The images imported via url are being uploaded smaller than they really are in the links.
    All of them are going at most 450 pixels in height or width

    2 – The stock handling of my xml is different than the supported format in xpath
    The one i have is based either on S (yes) or N (no). they do not tell me the number of pieces available.

    How do i get the S to be recognized as instock and the N as outofstock?
    I saw somewhere else a custom php code to handle this issue, but it didn’t work for me and i’m not a programmer to do it myself

    Could you please help me?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author WP All Import

    (@wpallimport)

    Hi @imperiatus

    The images imported via url are being uploaded smaller than they really are in the links. All of them are going at most 450 pixels in height or width

    WP All Import doesn’t resize images – this is something that WordPress, your theme, and other plugins handle.

    Does the same resizing happen when you manually upload an image?

    The one i have is based either on S (yes) or N (no). they do not tell me the number of pieces available.

    You can use an IF statement to change “S” to “instock” and “N” to “outofstock”. See:

    [IF({stock[1][.="S"]})]instock[ELSE]outofstock[ENDIF]

    This would be used at Stock status -> Set with XPath. Just change the stock element from “stock” to the name of the element in your feed.

    Plugin Author WP All Import

    (@wpallimport)

    Hi @imperiatus

    I’m marking this as resolved since we haven’t heard back. If you still have questions about these issues, feel free to follow up here.

    Anyone else reading this, please start a new thread.

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

The topic ‘Problem with image and stock’ is closed to new replies.