Support is offline. We are back Thursday 12 November, 09:00.

enable or disable override condition #65781

Resolved Locked soura123 opened this topic Thursday, 04 February 2021 · 10 replies
Author

can you please help me how to fix a condtiotion import
i have this import

<product>
<id>8810</id>
<category>ΧΑΛΙΑ>ΧΕΙΜΕΡΙΝΑ ΧΑΛΙΑ>Μοντέρνα χαλιά</category>
<mpn>2021962401023</mpn>
<RegularPrice>239.00</RegularPrice>
<SalePrice>191.20</SalePrice>
<StockStatus>instock</StockStatus>
<Stock>1</Stock>
</product>

i want to enable override = 1 when the SalePrice has a value
i attach my template to see what i have done so far
when the saleprice field is empty is like this: <SalePrice/>
thanks in advanced

Support

Hello,
With RO CSVI 7.20.0 version we did some changes to Conditional rule plugin. That would help you to get the condition you need. Check the linked document for example. Remember you should update your RO CSVI to 7.20.0 version to use this feature.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

i m not sure how to implement my template with this documentaion
can you please give an example on my case?
thanks

Support

Hello,
See attached screenshot for example. In your case you should check if SalePrice field is greater than 0 then replace value of override field to 1. This rule should be applied on Salesprice field. Let me know on how it goes.

  • Screenshot 2021-02-05 at 11.46.50 AM.png

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

i asked because i have done the same thing on my version which is 7.17
http://prntscr.com/yd05kz
and does not work

Support

Hello,
The rule you have for RO CSVI 7.17.0 version will not work on values of two fields. Please read my previous reply, i mentioned you should have RO CSVI 7.20.0 version to get the new feature of RO CSVI Conditional rule. With this new feature and as per the rule setting i sent in the screenshot you should be able to check SalesPrice field and add value for override field.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

well
i made it like this
http://prntscr.com/yd1s35
and it is working
i m runing now the import and get back to you if it worked, but from preview it made the change

Author

ok it worked fine

Support

Hello,
May i know on which field you applied this rule and how the values are looking on import preview page? Can you share a screenshot of import preview page?

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

Author

yes
here is my preview
http://prntscr.com/yd4twv
and here is my temp setup
http://prntscr.com/yd4xdh

Support

Hello,
Thank you for sharing those screenshots. I see that SalePrice from XML file is applied on override field and so it is only one field and not two fields. That explains why the rule works.

Glad to know that your issue is solved. Closing this topic so for any new issues please create a new topic.

Kind regards,

Tharuna

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory

This topic is locked. New replies are not possible.

Log in to reply to this topic.