[Skip to main content](#vessel-content)

#  Profile for tonyhang

##

[![tonyhang's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/7979-tonyhang "View tonyhang's Profile")

**[ Offline](/forum/user/7979-tonyhang)**

- **User Type:** User

- **Register Date:** 26 Jun 2012
- **Last login:** 1 year 3 months ago
- **Time Zone:**  UTC +0:00
- **Local Time:** 22:01

- **Posts:** 9
- **Profile views:** 64

- **Gender:** Unknown

- Posts

#  tonyhang's recent posts  (9 messages )

All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year     All Since last visit 4 Hours 8 Hours 12 Hours 24 Hours 48 Hours Week Month Year

| <a id="forumtop"> </a> [  ](#forumbottom) | Subject | Replies / Views | Last Post | <a id="forumbottom"> </a> [   ](#forumtop) |
|---|---|---|---|---|
| [](/forum/33-customers/909492-how-to-use-regular-expression-check-to-compare-values-of-two-custom-fields#367523) | [How to use regular expression check to compare values of two custom fields?](/forum/33-customers/909492-how-to-use-regular-expression-check-to-compare-values-of-two-custom-fields#367523 "Hi,  If there are two custom fields of Text type, address&#95;telephone1 and address&#95;telephone2. how can I use regular expression to check if the value of address&#95;telephone2 equals the value of address&#95;telephone1? I want to make sure users input the correct telephone number.  Thank you!")        Category: [Customers](/forum/33-customers "How to manage your customers and their access")     Topic started 1 year 4 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/33-customers/909492-how-to-use-regular-expression-check-to-compare-values-of-two-custom-fields#367524 "Hi,  You can't do that with a regular expression check. A regular expression allows you to check the format of the value entered in a field. The regular expression doesn't have access to the value of other fields.  I'm afraid it will require some coding, one way or another.  One solution could be to: - use the &quot;display view files&quot; setting of the HikaShop configuration to identify which view file(s) is used to display the fields :   www.hikashop.com/support/documentation/5...g.html#advanced&#95;main  - edit the view file(s) via the menu Display&gt;Views. - in there, add custom javascript code to make that check:  Note that this is a simplified solution. I will only add a message to the user if the value in each field are not the same but it won't block the user from proceeding. A proper solution would also have to block the form submission where these fields are if they are not filled with the same text. So ideally, the code would have to be modified in each view file to adapt to the form there to handle that and it is not that simple.  A better solution, supposing that both fields are of the table &quot;address&quot;, would be to implement the onBeforeAddressCreate and onBeforeAddressUpdate events of the HikaShop address API in a plugin of the group &quot;hikashop&quot;:   www.hikashop.com/support/documentation/6...ntation.html#address  In them, you could compare both fields in $element-&gt;address&#95;telephone1 and $element-&gt;address&#95;telephone2 and if different, set $do to false and add an error message with Joomla's error message system:   docs.joomla.org/display&#95;error&#95;messages&#95;and&#95;notices  This could help:   chatgpt.com/share/6843597c-b19c-8003-a3c3-8a84c7ea7fb2") 1 year 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:948 | [Last Post](/forum/33-customers/909492-how-to-use-regular-expression-check-to-compare-values-of-two-custom-fields#367524 "Hi,  You can't do that with a regular expression check. A regular expression allows you to check the format of the value entered in a field. The regular expression doesn't have access to the value of other fields.  I'm afraid it will require some coding, one way or another.  One solution could be to: - use the &quot;display view files&quot; setting of the HikaShop configuration to identify which view file(s) is used to display the fields :   www.hikashop.com/support/documentation/5...g.html#advanced&#95;main  - edit the view file(s) via the menu Display&gt;Views. - in there, add custom javascript code to make that check:  Note that this is a simplified solution. I will only add a message to the user if the value in each field are not the same but it won't block the user from proceeding. A proper solution would also have to block the form submission where these fields are if they are not filled with the same text. So ideally, the code would have to be modified in each view file to adapt to the form there to handle that and it is not that simple.  A better solution, supposing that both fields are of the table &quot;address&quot;, would be to implement the onBeforeAddressCreate and onBeforeAddressUpdate events of the HikaShop address API in a plugin of the group &quot;hikashop&quot;:   www.hikashop.com/support/documentation/6...ntation.html#address  In them, you could compare both fields in $element-&gt;address&#95;telephone1 and $element-&gt;address&#95;telephone2 and if different, set $do to false and add an error message with Joomla's error message system:   docs.joomla.org/display&#95;error&#95;messages&#95;and&#95;notices  This could help:   chatgpt.com/share/6843597c-b19c-8003-a3c3-8a84c7ea7fb2") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 4 months ago |
| [](/forum/35-orders-management/909430-how-to-change-the-default-order-range-from-in-the-last-6-months-to-in-total#367194) | [How to change the default order range from In the Last 6 Months to In Total?](/forum/35-orders-management/909430-how-to-change-the-default-order-range-from-in-the-last-6-months-to-in-total#367194 "-- HikaShop version -- : 5.0 -- Joomla version -- : 3.10.12 -- PHP version -- : 7.4  Hi,  On the Customer Orders page, there is a filter of order range to be displayed. It seems that the default order range is last 6 months. How to change it to In Total? I want to set displaying all orders as default.  Thank you!")        Category: [Orders management](/forum/35-orders-management "You can ask here your questions about orders management")     Topic started 1 year 5 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/35-orders-management/909430-how-to-change-the-default-order-range-from-in-the-last-6-months-to-in-total#367195 "Hi,  Go to the hikashop&#95;config table in your database via your PHPMyAdmin. There, add an entry in that table with the namekey &quot;orders&#95;listing&#95;default&#95;range&quot; and leave the value and the default empty. This will change the default order range to Total.") 1 year 5 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:1  Views:747 | [Last Post](/forum/35-orders-management/909430-how-to-change-the-default-order-range-from-in-the-last-6-months-to-in-total#367195 "Hi,  Go to the hikashop&#95;config table in your database via your PHPMyAdmin. There, add an entry in that table with the namekey &quot;orders&#95;listing&#95;default&#95;range&quot; and leave the value and the default empty. This will change the default order range to Total.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      1 year 5 months ago |
| [](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387) | [hikashop\_email\_log.MYD is getting larger and lager.](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.5  Hi,  I found the table hikashop&#95;email&#95;log.MYD is getting larger and larger. I have deleted all records in Email History menu of hikashop on the backend. But still can't make hikashop&#95;email&#95;log.MYD small. This seems to be the log file of emails sent out by hikashop. How can I clear this log file?  Thank you!  Tony")        Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 9 years 9 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387 "Thank you very much! fixed!") 9 years 8 months ago     by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile") | Replies:2  Views:729 | [Last Post](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387 "Thank you very much! fixed!") by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")      9 years 8 months ago |
| [](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#260292) | [hikashop\_email\_log.MYD is getting larger and lager.](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#260292 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.6.5  Hi,  I found the table hikashop&#95;email&#95;log.MYD is getting larger and larger. I have deleted all records in Email History menu of hikashop on the backend. But still can't make hikashop&#95;email&#95;log.MYD small. This seems to be the log file of emails sent out by hikashop. How can I clear this log file?  Thank you!  Tony")        Category: [Install &amp; Update](/forum/25-install-update "Having an installation or update issue? You will probably find some help here.")     Topic started 9 years 9 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387 "Thank you very much! fixed!") 9 years 8 months ago     by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile") | Replies:2  Views:729 | [Last Post](/forum/25-install-update/888450-hikashop-email-log-myd-is-getting-larger-and-lager#263387 "Thank you very much! fixed!") by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")      9 years 8 months ago |
| [](/forum/46-discount-coupon/872415-disable-the-coupon-field-for-certain-products#176063) | [Disable the coupon field for certain products?](/forum/46-discount-coupon/872415-disable-the-coupon-field-for-certain-products#176063 "-- HikaShop version -- : 2.3.0 -- Joomla version -- : 2.5.19  Some of my products has coupons and some don't need coupon. I want disable the coupon field for certain products. How can I do?")        Category: [Discount &amp; Coupon](/forum/46-discount-coupon "Increase your sales with our coupon/discount feature")     Topic started 12 years 2 weeks ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/46-discount-coupon/872415-disable-the-coupon-field-for-certain-products#176085 "Hi,  There is no such option in the coupon. You just have an inclusion system. So the best is to create a category and put every products, except the products that you want to exclude.  Regards,") 12 years 2 weeks ago     by [Jerome](/forum/user/80-jerome "View Jerome's Profile") | Replies:1  Views:1124 | [Last Post](/forum/46-discount-coupon/872415-disable-the-coupon-field-for-certain-products#176085 "Hi,  There is no such option in the coupon. You just have an inclusion system. So the best is to create a category and put every products, except the products that you want to exclude.  Regards,") by [Jerome](/forum/user/80-jerome "View Jerome's Profile")      12 years 2 weeks ago |
| [](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153281) | [Why a custom feild for product can't be displayed?](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153281 "-- url of the page with the problem -- :   winstorm.cn/hikashop223/index.php/produc.../product/1-product-1  -- HikaShop version -- : 2.3 -- Joomla version -- : 2.5.19  I have added a custom feild for product on the back-end: Label: Product Option 1 Table: product Column name: product&#95;option1 It has been restriced to Category 1 only. All products belong to Category 1. But Product Option 1 can't be displayed on any product page or checkout pages on the front-end.  I don't know the reason.  Could you please give me some suggestions?  Thank you very much!  Tony")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 12 years 6 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153279 "Hi,  Have you enabled the option to display it on the frontend ? Do you have sub categories in this &quot;Category 1&quot;, if yes, thanks to enable the option to display the custom field in sub categories.") 12 years 6 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:2  Views:399 | [Last Post](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153279 "Hi,  Have you enabled the option to display it on the frontend ? Do you have sub categories in this &quot;Category 1&quot;, if yes, thanks to enable the option to display the custom field in sub categories.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 6 months ago |
| [](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153278) | [Why a custom feild for product can't be displayed?](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153278 "-- url of the page with the problem -- :   winstorm.cn/hikashop223/index.php/produc.../product/1-product-1  -- HikaShop version -- : 2.3 -- Joomla version -- : 2.5.19  I have added a custom feild for product on the back-end: Label: Product Option 1 Table: product Column name: product&#95;option1 It has been restriced to Category 1 only. All products belong to Category 1. But Product Option 1 can't be displayed on any product page or checkout pages on the front-end.  I don't know the reason.  Could you please give me some suggestions?  Thank you very much!  Tony")        Category: [Product &amp; Category Display](/forum/26-product-category-display "Questions about product and category display. You can't find how to make Hikashop looks incredible? The answer is here!")     Topic started 12 years 6 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153279 "Hi,  Have you enabled the option to display it on the frontend ? Do you have sub categories in this &quot;Category 1&quot;, if yes, thanks to enable the option to display the custom field in sub categories.") 12 years 6 months ago     by [Xavier](/forum/user/4105-xavier "View Xavier's Profile") | Replies:2  Views:399 | [Last Post](/forum/26-product-category-display/867641-why-a-custom-feild-for-product-cant-be-displayed#153279 "Hi,  Have you enabled the option to display it on the frontend ? Do you have sub categories in this &quot;Category 1&quot;, if yes, thanks to enable the option to display the custom field in sub categories.") by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")      12 years 6 months ago |
| [](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55350) | [Does HikaShop have the Order History feature?](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55350 "I would like to know if buyers can see the order history(status change and comments) like Opencart? This is a very important feature to keep record of the business. I only installed Hikashop Starter and don't have the Business version. Does anybody know this? Thank you!")         Category: [General Talk about HikaShop](/forum/2-general-talk-about-hikashop "Suggest your feature requests and ideas for HikaShop")     Topic started 14 years 4 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55406 "The order history is only available in the back end. That would require a customization of the file &quot;show&quot; of the view &quot;order&quot; via the menu Display-&gt;Views in order to load and display the history entries.") 14 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:2  Views:2358 | [Last Post](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55406 "The order history is only available in the back end. That would require a customization of the file &quot;show&quot; of the view &quot;order&quot; via the menu Display-&gt;Views in order to load and display the history entries.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      14 years 4 months ago |
| [](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55341) | [Does HikaShop have the Order History feature?](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55341 "I would like to know if buyers can see the order history(status change and comments) like Opencart? This is a very important feature to keep record of the business. I only installed Hikashop Starter and don't have the Business version. Does anybody know this? Thank you!")         Category: [General Talk about HikaShop](/forum/2-general-talk-about-hikashop "Suggest your feature requests and ideas for HikaShop")     Topic started 14 years 4 months ago, by [tonyhang](/forum/user/7979-tonyhang "View tonyhang's Profile")       [Last Post](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55406 "The order history is only available in the back end. That would require a customization of the file &quot;show&quot; of the view &quot;order&quot; via the menu Display-&gt;Views in order to load and display the history entries.") 14 years 4 months ago     by [nicolas](/forum/user/63-nicolas "View nicolas's Profile") | Replies:2  Views:2358 | [Last Post](/forum/2-general-talk-about-hikashop/55341-does-hikashop-have-the-order-history-feature#55406 "The order history is only available in the back end. That would require a customization of the file &quot;show&quot; of the view &quot;order&quot; via the menu Display-&gt;Views in order to load and display the history entries.") by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")      14 years 4 months ago |

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.063 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
