1. imthebige
  2. RO CSVI
  3. Wednesday, 02 November 2016
  4.  Subscribe via email
Hello Roland,

I have categories in my csv file , in which 3 categories are like : computers,software,computers-software

I have created a 3 rule for it

1)computers --- Find and replace with --- Computers
2)software --- Find and replace with --- Computers/Software

because i need software category as a nested category of Computers

but when 3rd category comes which is computers-software it replace with : Computers-Computers/Software

and this will created

Computers-Computers >Software
Computers > Software

I don't want to create this one -->Computers-Computers >Software

Will you be able to give me any solution for this.

waiting for the reply.

Thanks & Regards
Accepted Answer Pending Moderation
Hello Rolandd,

Awesome that ws great..It Works.

Thank you so much..:)

Regards
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,

Hope now you will understand my problem.. :)
I am trying but not so easy to put all the pieces of the puzzle together.

So, this product you want to import has a category value of books,computers-software,lighting,costumes,software,printers, correct?

The comma separates different categories, correct?

What the trick is to creating replace rules is to look for unique values. A rule for software will match both software and computer-software. However a rule for ,software will only match software and not computer-software. This way you need to be creative with the rules.

So you have the 1st rule to change computers into Computers, a 2nd rule to change software into Computers/Software then you need a 3rd rule to find computer-software and change it to Computers/Software. You would then create a 4th rule to clean up any mess where you would change Computers-Computers/Software into Computers/Software and that should do it.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,

Yes it is not looking for it it just find computers and replace it with Computers and Found software and replace it with Computers/Software.And yes it can't look for computers-software this category.

If I not created rule for computers , software and just created for computers-software
and replace it with Computers/Software then when there is only software category it created a new category seprate.Not nested under computers.

Categories come with this way : books,computers-software,lighting,costumes,software,printers

See the screenshot : http://prntscr.com/d24cdb
http://prntscr.com/d24dt1

Hope now you will understand my problem.. :)

Thanks
  1. more than a month ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,

To drop the 3rd one, you would have to replace it with nothing so it is empty. What I don't understand yet, how does the replace rule look like for the computers-software category. Can you tell me?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Hello,

I want like : computers > Software>computers-software this way they should nested ??

but it created like :

Computers-Computers >Software
Computers > Software

or is it possible to drop 3rd one ?

Thanks
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello,

Are you saying that you only want to import the first 2 categories and drop the 3rd category?
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 6
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!