Forum Replies Created
- AuthorPosts
- ashley.youngukParticipant
Is no one monitoring the forums anymore?
ashley.youngukParticipantPlease can you take a look at this?
ashley.youngukParticipantI would also like to know this – it would be good if they created an addon like the elementor one they have!
ashley.youngukParticipant??
ashley.youngukParticipantAny ideas?
ashley.youngukParticipantACF Repeater field is a must – can you please give a timescale?
ashley.youngukParticipant?? Anyone ??
ashley.youngukParticipantAny ideas?
ashley.youngukParticipantSorry! I’m pretty good at editing PHP but I don’t understand what your saying.
Could you clearly mark out the sections I need to move by putting //START and //END?
ashley.youngukParticipantThat’s great thanks it worked, however the icons dont change if I use the shortcode [wcfm_notifications] – how do I change the icons within that shortcode?
ashley.youngukParticipantAmazing!
Can’t wait to see what you create!
ashley.youngukParticipantAny ideas?
ashley.youngukParticipantHi
Sorry – it’s working again now…could you take a look please?
April 30, 2020 at 6:05 pm in reply to: Restyle the Variation section of the Add Product form #125057ashley.youngukParticipantHave you had chance to take a look?
April 28, 2020 at 6:59 pm in reply to: Restyle the Variation section of the Add Product form #124276ashley.youngukParticipantHi
I did this but it didn’t change anything. Also there’s an odd problem with the add new variation…please see this video…
https://drive.google.com/file/d/18dDUb67qLODCf54rhYQUVzrPhGik_E9F/view
Can you help?
April 25, 2020 at 2:33 am in reply to: Restyle the Variation section of the Add Product form #122730ashley.youngukParticipantAny ideas?
April 23, 2020 at 12:26 pm in reply to: Restyle the Variation section of the Add Product form #122102ashley.youngukParticipantAny luck with this?
April 22, 2020 at 12:38 pm in reply to: Restyle the Variation section of the Add Product form #121665ashley.youngukParticipantHi
Yes, I mean the section in red on your screenshot. The screenshots I sent are what I would like it to look.
Thanks
April 22, 2020 at 3:21 am in reply to: Restyle the Variation section of the Add Product form #121563ashley.youngukParticipantThis reply has been marked as private.ashley.youngukParticipantSo the last bit was styling this
<p class="select_attributes_pa_colour_value_0 wcfm_title wcfm_ele attribute_ele simple variable external grouped booking"><strong>Colour</strong></p>
I want to target all without have to use .select_attributes_pa_colour_value_0
Thank you
ashley.youngukParticipantAmazing – fyi I didn’t actually update the core, I only made the changes so you could see what I needed. I never edit core files! 🙂
April 19, 2020 at 12:16 pm in reply to: Add custom dropdown (with options) to Shipping tab on add product form. #120547ashley.youngukParticipantHi
I use elementor to build the product pages, so a shortcode that I can place in the elementor template that will automatically see what product/vendor it is and then display the field as text like ‘Postage: Royal Mail’ would be perfect. Is that possible?
ashley.youngukParticipantI’ve made the edits to that section of code, is there a way to put it into a function?
// Attribute wise level if( !apply_filters( 'wcfm_is_allow_add_attribute_term_'.$att_taxonomy, true, $att_taxonomy ) ) { $allow_add_term = ''; } $attrlimit = apply_filters( 'wcfm_attribute_limit_'.$att_taxonomy, $attrlimit, $att_taxonomy ); $attributes = apply_filters( 'wcfm_product_custom_attributes_data', apply_filters( 'wcfm_product_custom_attribute_date_'.$att_taxonomy, $attributes, $att_taxonomy ) ); $WCFM->wcfm_fields->wcfm_generate_form_field( apply_filters( 'wcfm_product_custom_attributes', apply_filters( 'wcfm_product_custom_attribute_'.$att_taxonomy, array( "select_attributes_".$att_taxonomy => array( 'type' => 'multiinput', 'class' => 'wcfm-text wcfm_select_attributes wcfm_ele simple variable external grouped booking', 'label_class' => 'wcfm_title krafters-att-main', 'value' => $attributes, 'options' => array( "term_name" => array('type' => 'hidden'), "is_active" => array('label' => __('Enable this attribute?', 'wc-frontend-manager'), 'type' => 'checkbox', 'value' => 'enable', 'attributes' => array( 'title' => __( 'Check to associate this attribute with the product', 'wc-frontend-manager' ) ), 'class' => 'wcfm-checkbox wcfm_ele attribute_ele simple variable external grouped booking', 'label_class' => 'krafters-att-active wcfm_title wcfm_ele simple variable external grouped booking checkbox_title'), "name" => array('label' => __('Name', 'wc-frontend-manager'), 'type' => 'text', 'attributes' => array( 'readonly' => true ), 'class' => 'variation_ele_hide', 'label_class' => 'krafters-att-heading variation_ele_hide'), "value" => array('label' => wc_attribute_label( $att_taxonomy ), 'type' => 'select', 'custom_attributes' => array( 'attrlimit' => $attrlimit ), 'attributes' => array( 'multiple' => 'multiple', 'style' => 'width: 60%;' ), 'class' => 'wcfm-select wcfm_ele simple variable external grouped booking ' . $allow_add_term, 'label_class' => 'wcfm_title wcfm_ele attribute_ele simple variable external grouped booking'), "is_visible" => array('label' => __('Visible on the product page <span>Do you want your customers to see this attribute<br>in the item information on the product page</span>', 'wc-frontend-manager'), 'type' => 'checkbox', 'value' => 'enable', 'class' => 'wcfm-checkbox wcfm_ele simple variable external grouped booking ', 'label_class' => 'wcfm_title wcfm_ele simple variable external grouped booking checkbox_title krafters-other-heading'), "is_variation" => array('label' => __('Use as Variation <span>Enabling this option allows you to define different<br>pricing and stock options for this attribute.</span>', 'wc-frontend-manager'), 'type' => 'checkbox', 'value' => 'enable', 'class' => 'wcfm-checkbox wcfm_ele variable variable-subscription', 'label_class' => 'wcfm_title checkbox_title wcfm_ele variable variable-subscription krafters-other-heading'), "tax_name" => array('type' => 'hidden'), "is_taxonomy" => array('type' => 'hidden') )) ), 'select_attributes_'.$att_taxonomy, $att_taxonomy, $attributes ), 'select_attributes_'.$att_taxonomy, $att_taxonomy, $attributes ) ); }
The only other change I would like to make is to style the attribute name, this bit:
<p class="select_attributes_pa_colour_value_0 wcfm_title wcfm_ele attribute_ele simple variable external grouped booking"><strong>Colour</strong></p>
But generically without having to do each attribute
ashley.youngukParticipantHi
I actually got it wrong – the file I need to edit is ‘class-wcfm-frontend.php’ which is located in wc-frontend-manager/core. Line 860 – 868. I would like to add my class to the labels and change the label title to a span.For example this is the edit I would like to do:
"is_visible" => array('label' => __('Visible on product page<span>Would you like this attribute display on your products page for your customers to see?</span>', 'wc-frontend-manager'), 'type' => 'checkbox', 'value' => 'enable', 'class' => 'wcfm-checkbox wcfm_ele simple variable external grouped booking', 'label_class' => 'wcfm_title wcfm_ele simple variable external grouped booking checkbox_title krafters-other-heading'),
As you can see I added a span within the tile and a class to the label class.
This section of code displays the admin generated attributes on the ‘Add Product’ form therefore I cannot edit the template file as this only edits the section where vendors can create their own attributes.
Thank you,
April 18, 2020 at 6:16 pm in reply to: Add custom dropdown (with options) to Shipping tab on add product form. #120330ashley.youngukParticipantGreat! Thank you – are you able to put this into a shortcode so that I can place it anywhere? With this format:
Postage: Royal Mail
Thank you
- AuthorPosts