Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM › about varible option name can't change
- This topic has 5 replies, 2 voices, and was last updated 5 years, 11 months ago by WCFM Forum.
Viewing 5 reply threads
- AuthorPosts
- December 1, 2018 at 3:38 am #38767
- December 3, 2018 at 6:28 am #38843WCFM ForumMember
Hi,
Send me message what you want to show, I will give you according code for this.
Thank You
- December 3, 2018 at 6:35 am #38846MOHOParticipant
use this chinese word “目前規格選項不可修改,請刪除再新增。”
Thanks
- December 3, 2018 at 8:48 am #38892WCFM ForumMember
HI,
Kindly add this code for the purpose ->
function wcfm_product_custom_attributes_0312_hints( $attr_fields, $field_name ) { if( isset($attr_fields[$field_name]) && isset($attr_fields[$field_name]['options']) && isset($attr_fields[$field_name]['options']['name']) ) { $attr_fields[$field_name]['options']['name']['desc']= '目前規格選項不可修改,請刪除再新增'; $attr_fields[$field_name]['options']['name']['desc_class']= 'attribute_ele attribute_ele_hints'; } return $attr_fields; } add_filter( 'wcfm_product_custom_attributes', 'wcfm_product_custom_attributes_0312_hints', 50, 2 );
Thank You
- December 6, 2018 at 2:40 am #39130
- December 6, 2018 at 10:09 am #39154WCFM ForumMember
HI,
I gave you code for showing a message like this along with attributes -> https://ibb.co/yFzxqrh
Well, add this CSS as well ->
p.attribute_ele_hints { display: block; width: 100%; margin-left: 39%; margin-bottom: 15px; }
Thank You
- AuthorPosts
Viewing 5 reply threads
- The topic ‘about varible option name can't change’ is closed to new replies.