- laconcorde
- RO CSVI
- Saturday, 01 October 2016
- Subscribe via email
Hello! Where i can search manual how can I add a replacement rule for export category_link node in Virtuemart 3. Thanks in advance.
0
Accepted Answer
Pending Moderation
Hi. I set how you write. Or i do mistake ? But in the result nothing.
Attachments (2)
Accepted Answer
Pending Moderation
Hello,
I am afraid that your requirement cannot be achieved by using replacement rules but can be done using combine plugin. You can do something like have a combine field with default value to be index.php?option=com_virtuemart&view=category&virtuemart_category_id= and virtuemart_category_id fields in your template fields. Create a combine rule with combine,virtuemart_category_id fields in source fields. In the target field set the field name where you want this category_link to be used. Apply your rule on the target field in your template fields. Try the import after that. This should solve your issue. If you have any problem post screenshots on how you have set up the rule.
Oк. I do create rule - CSVI Replace plugin, in fild "Find" i post url: index.php?option=com_virtuemart&view=category&virtuemart_category_id= and what i post in fild "Replace" and what i need set in other drop-down list ? Sorry for the insistence but I did not find a manual in the documentation.
I am afraid that your requirement cannot be achieved by using replacement rules but can be done using combine plugin. You can do something like have a combine field with default value to be index.php?option=com_virtuemart&view=category&virtuemart_category_id= and virtuemart_category_id fields in your template fields. Create a combine rule with combine,virtuemart_category_id fields in source fields. In the target field set the field name where you want this category_link to be used. Apply your rule on the target field in your template fields. Try the import after that. This should solve your issue. If you have any problem post screenshots on how you have set up the rule.
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
Oк. I do create rule - CSVI Replace plugin, in fild "Find" i post url: index.php?option=com_virtuemart&view=category&virtuemart_category_id= and what i post in fild "Replace" and what i need set in other drop-down list ? Sorry for the insistence but I did not find a manual in the documentation.
Accepted Answer
Pending Moderation
Hello,
You cannot find the category_link field because there is no category_link field available in CSVI. The only way you could do something is create the link yourself using a replacement rule. You would need to find out how the normal URL looks like, probably something like http://www.example.com/index.php?option=com_virtuemart&view=category&category_id=X. With the replacement rule you would replace X with the category ID.
You cannot find the category_link field because there is no category_link field available in CSVI. The only way you could do something is create the link yourself using a replacement rule. You would need to find out how the normal URL looks like, probably something like http://www.example.com/index.php?option=com_virtuemart&view=category&category_id=X. With the replacement rule you would replace X with the category ID.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Thanks for the quick response. I'm sorry, but I still need manual how do I create value category_link, category_path field has already been created in the xml file. I did a search on all resources, but did not find the answer. Sorry for inconvenience.
Attachments (1)
Accepted Answer
Pending Moderation
Hello,
Have a look at our replacements documentation to know on how to create a replacement rule. Once the rule is created you need to select the rule and apply it to your category_path field in your export template fields.
Have a look at our replacements documentation to know on how to create a replacement rule. Once the rule is created you need to select the rule and apply it to your category_path field in your export template fields.
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
- 2
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 »