Remove all hardcoded text, replace with mapping table function

len
138 Posts
len posted this 09 December 2016

There is a lot of hardcoded text in a Themler theme, especially in the Woocommerce product and cart pages. Looking at many other Answers posts, its the same for Virtuemart and other platforms.
For example in the "Cart control, the header text, table header text and totals box text is all hardcoded.
The only way to change it is using a child theme (in Wordpress) and manually edit a number of php files. Not ideal as then any code updates of these files is not use due to the child theme. This is not a viable solution.
There is no obvious text mapping file either for multi languages, again stated in many posts in this forum.
This is a MAJOR issue for producing websites for customers, and major limitation of Themler.

So the suggestion is:
Provide a text mapping table as part of the template, mapping each fixed text element to a theme specified text
Remove ALL hardcoded text in a Themler theme and put in the mapping table
Function for import/export of the mapping table to allow for loading a translation table for each new template

There is a lot of hardcoded text in a Themler theme, especially in the Woocommerce product and cart pages. Looking at many other Answers posts, its the same for Virtuemart and other platforms. For example in the "Cart control, the header text, table header text and totals box text is all hardcoded. The only way to change it is using a child theme (in Wordpress) and manually edit a number of php files. Not ideal as then any code updates of these files is not use due to the child theme. This is not a viable solution. There is no obvious text mapping file either for multi languages, again stated in many posts in this forum. This is a MAJOR issue for producing websites for customers, and major limitation of Themler. So the suggestion is: Provide a text mapping table as part of the template, mapping each fixed text element to a theme specified text Remove ALL hardcoded text in a Themler theme and put in the mapping table Function for import/export of the mapping table to allow for loading a translation table for each new template
Vote to pay developers attention to this features or issue.
3 Comments
Order By: Standard | Newest
Support Team
Support Team posted this 12 December 2016

Hello Len,
thank you for your suggestion. We'll add it to our wish list.

regards,
Aileen

Hello Len, thank you for your suggestion. We'll add it to our wish list. regards, Aileen
len
138 Posts
len posted this 13 December 2016

This post has some examples of the issue:
http://answers.themler.com/questions/75951/woocommerce-add-to-basket-add-to-cart-confusing-terminology

This post has some examples of the issue: http://answers.themler.com/questions/75951/woocommerce-add-to-basket-add-to-cart-confusing-terminology
Support Team
Support Team posted this 15 December 2016

Hello Len,
please refer tp response for case http://answers.themler.com/questions/75951/woocommerce-add-to-basket-add-to-cart-confusing-terminology

regards,
Aileen

Hello Len, please refer tp response for case http://answers.themler.com/questions/75951/woocommerce-add-to-basket-add-to-cart-confusing-terminology regards, Aileen
You must log in or register to leave comments