[Resolved] Price Table widget currency and price value fields are not seen
This thread is resolved. Here is a description of the problem and solution.
Problem:
Using Elementor and the price Table widget.
In the "Pricing" section of the widget, I set the Currency Symbol to 'None', and (optionally) added a $ to the 39.99 price. Is there is a way to get WPML to include the price text field for translation via Translation Editor, along with the Heading, Period, Button Text etc?
Solution:
- Go to WPML > Settings > Custom XML configuration and add next XML code:
However in the Translation editor (as when click the + or circle arrow) the currency and price value fields are not seen, only 'words' like Heading, SubHeading etc.
Not sure what happened at my end with the chat connection, sorry. Thanks for the email continuation.
I've made the edit to your sandbox site, on page WPML test EN.
ie. in the "Pricing" section of the widget, I set the Currency Symbol to 'None', and (optionally) added a $ to the 39.99 price. This is accepted by the Elementor widget and shows up on the page as part of the price. Just can not set a size on the currency (as it is not the currency icon), which is not really an issue.
So if there is a way to get WPML to include the price text field as part of translation, along with the Heading, Period, Button Text etc (all of which can be handled by WPML at present) that would likely make it work good enough for most people. Period (supported) is a field in the Pricing part of the widget.
By looking at the example you provided, and the Elementor widgets code, I was able to work out how to add a couple of the other fields that we use in the Price Table widget, and also a section for the 'Price List' widget (we only use two fields in that, so not all fields are included), as below.