When importing the images, the folder where the image is located depends on the last number of the article number. How can I automate that with a rule.
402290 VNKM1582 ftp://http://ftp.compulutions.nl/640/2/VNKM1582.jpg
402291 VNKM1261 ftp://http://ftp.compulutions.nl/640/1/VNKM1261.jpg
Via CSVI Multireplace I have placed the article number ftp://http://ftp.compulutions.nl/640/
Accepted Answer
Pending Moderation
Hello,
Were you able to make the folder name in image URL? Did you write your own rule plugin?
Were you able to make the folder name in image URL? Did you write your own rule plugin?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
product_sku product_url file_url IMAGE1 IMAGE2
402286 VNKM1256 6 ://http://ftp.compulutions.nl/640/6 ://http://ftp.compulutions.nl/640/6/VNKM1256.jpg
402287 VNKM1257 7 ://http://ftp.compulutions.nl/640/7 ://http://ftp.compulutions.nl/640/7/VNKM1257.jpg
402288 VNKM1258 8 ://http://ftp.compulutions.nl/640/8 ://http://ftp.compulutions.nl/640/8/VNKM1258.jpg
402290 VNKM1582 2 ://http://ftp.compulutions.nl/640/2 ://http://ftp.compulutions.nl/640/2/VNKM1582.jpg
402291 VNKM1261 1 ://http://ftp.compulutions.nl/640/1 ://http://ftp.compulutions.nl/640/1/VNKM1261.jpg
almost there.
402286 VNKM1256 6 ://http://ftp.compulutions.nl/640/6 ://http://ftp.compulutions.nl/640/6/VNKM1256.jpg
402287 VNKM1257 7 ://http://ftp.compulutions.nl/640/7 ://http://ftp.compulutions.nl/640/7/VNKM1257.jpg
402288 VNKM1258 8 ://http://ftp.compulutions.nl/640/8 ://http://ftp.compulutions.nl/640/8/VNKM1258.jpg
402290 VNKM1582 2 ://http://ftp.compulutions.nl/640/2 ://http://ftp.compulutions.nl/640/2/VNKM1582.jpg
402291 VNKM1261 1 ://http://ftp.compulutions.nl/640/1 ://http://ftp.compulutions.nl/640/1/VNKM1261.jpg
almost there.
Accepted Answer
Pending Moderation
Hello,
Even if you find a regular expression to find the matching string "640/" in the image URL, you need to replace it with the last digit of article number by entering the value in Replace field. Replace field right now is a text field where it takes only the input values and it is not possible to use the value produced by another rule or operation like Substring.
You can write your own rule plugin to create the folder name as needed.
Even if you find a regular expression to find the matching string "640/" in the image URL, you need to replace it with the last digit of article number by entering the value in Replace field. Replace field right now is a text field where it takes only the input values and it is not possible to use the value produced by another rule or operation like Substring.
You can write your own rule plugin to create the folder name as needed.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
i want the folder name to be made in the image url? if possiple.
is it possible via regex ?
is it possible via regex ?
Accepted Answer
Pending Moderation
Hello,
If the length of the article number is going to be same for all the products then in Multi replace plugin using Substring option you can get the last digit by setting Start and End fields as 7 where the last digit is in the 7th place of the article number. But the problem is how it is going to put in place of folder name. Do you have any specific string before the image name which needs to be replaced by the last digit of article number? Or you want the folder name to be made in the image url?
If the length of the article number is going to be same for all the products then in Multi replace plugin using Substring option you can get the last digit by setting Start and End fields as 7 where the last digit is in the 7th place of the article number. But the problem is how it is going to put in place of folder name. Do you have any specific string before the image name which needs to be replaced by the last digit of article number? Or you want the folder name to be made in the image url?
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »