• Resolved kamala12

    (@kamala12)


    Hi!

    My store have attribute “Diameter” and it contains attributes: 13,14,15,16…
    a new file have attributes that contains: R13,R14,R15,R16…

    Is there some possible way to remove that “R” before those diameter numbers?

    https://prnt.sc/tjR_1-40FMfU

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

    (@wpallimport)

    Hey @kamala12,

    Is there some possible way to remove that “R” before those diameter numbers?

    You could use str_replace() like this:

    [str_replace("R","",{attributes[1]/diameter[1]})]

    Or, if you need to remove all non-numeric characters:

    [preg_replace("~D~","",{attributes[1]/diameter[1]})]

    Thread Starter kamala12

    (@kamala12)

    Thank you!

    That worked out.

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

The topic ‘Import file attribute edit before uploading’ is closed to new replies.