BuddyBoss Home – Web Support Forums Themes OneSocial theme URGENT: Templates changes not working (I'm using WCVendors)

Viewing 15 posts - 1 through 15 (of 23 total)
  • Question

    #60563
    @conscious-crafties

    Hi Varun and Tom @tomchedd

    The changes I have previously made to the WCVendors product-edit.php templates aren’t appearing since changing over to the One Social theme. Most WCVendor customers make amendments to the vendor forms by copying their templates into their theme folders and making changes.

    This is my post in the WCVendors forum:

    I’ve copied over my amended templates from my old theme into One Social CHILD theme.

    However they don’t seem to be working as all my changes within my product-edit.php aren’t appearing in the Vendor product listing form.

    I copied product-edit.php from my old theme and added it to the one social child theme here:
    /public_html/wp-content/themes/onesocial-child/wc-vendors/dashboard/product-edit.php

    I also tried (just in case) adding it to the parent One Social theme here:
    /public_html/wp-content/themes/onesocial/wc-vendors/dashboard/product-edit.php

    But still no joy 🙁
    What have I done wrong?

    Then Ben from WCVendors responded with this:
    Good question! I don’t know is the answer. Social Marketplace uses a plugin to handle theme overrides, you’ll want to ask them how to handle what you need now. I’m interested in knowing the answer too.

    Could you tell me asap what I need to do to get your theme to read my changes as it's pretty important changes for my vendors.

    Many thanks,

    Karen

    Answers

    #60564
    @vapvarun

    Hi @conscious-crafties

    wp-content/plugins/buddyboss-marketplace/templates/wc-vendors/dashboard/product-edit.php
    that file is in action
    You can override it inside child theme like below
    onesocial-child/wc-vendors/dashboard/product-edit.php

    Regards

    #60624
    @conscious-crafties

    Hi Varun,

    I'm not sure if you read my note above but I've already copied it to:

    /public_html/wp-content/themes/onesocial-child/wc-vendors/dashboard/product-edit.php

    But it's not working.

    Also the form field ‘Tags' is missing from my product edit form – which is a standard field on the product edit WCVendors form 🙁

    Karen

    #60626
    @conscious-crafties

    Also my Vendors are not able to add Linked Products when listing their products 🙁

    I'm having lots of complaints, please can you resolve asap

    #60653
    @conscious-crafties

    What might help you resolve part of this, is knowing that both the Linked products and Tags are the same type of field, so maybe they are working but just aren't displayed, because the theme doesn't support it perhaps?

    The fields allows users to start typing and relevant products of tags appear in a list for users to select. I'm not sure of the technical term for field sorry! But I've attached a screenshot of how it used to look – hope it helps.

    Many thanks,

    Karen

    #60656
    @conscious-crafties

    As my template issue is urgent, I've going to do what I shouldn't do and override my template changes in the original WCVendors file.

    (please see comment above to help with displaying the missing form fields).

    Thanks,

    Karen

    #60673
    @conscious-crafties

    For info this is the help guide on WCVendors for overriding their templates in themes:

    Changing the Vendor Templates

    #60687
    @conscious-crafties

    Wow, even overriding the main template under plug ins hasn't pulled in my changes.

    The only changes I have made to the original template are a few paragraph text under fields like this:
    <p><small>Your product name should include keywords and be <b>under 70 characters</b>, thank you :)</small></p>

    And a new custom text field:

    <?php 
    WCVendors_Pro_Form_Helper::input( array(  
         	'type'      			=> 'text',
    	'post_id'			=> $object_id, 
    	'id' 				=> 'wcv_custom_product_handmade', 
    	'label' 			=> __( 'Number of Days to Hand Make', 'wcvendors-pro' ), 
    	'placeholder' 		=> __( 'Enter ONLY A NUMBER here for the quantity of days your item takes to make, if it is already made simply leave BLANK', 'wcvendors-pro' ), 
    	'desc_tip' 			=> 'true', 
    	'description' 		=> __( 'Remember to allow time for any sickness', 'wcvendors-pro' ), 
    				
    ) );
    ?>

    So maybe the amended templates within themes ARE being picked up, but your theme isn't supporting additional paragraph text or custom fields.

    Hope that helps you resolve more quickly,

    Thanks,

    Karen

    #60728
    @vapvarun

    Hi @conscious-crafties,

    Please send your login details from our contact page, we will add corresponding edits inside the marketplace plugin
    includes/main-class.php
    following need to be

    
    $located = wc_locate_template( $template_name, $this->templates_dir, $this->templates_dir.'/wc-vendors/dashboard/' );
    

    replaced with

    
    				$located = wc_locate_template( $template_name, 'wc-vendors/dashboard/', $this->templates_dir.'/wc-vendors/dashboard/' );
    

    for each conditional check inside bm_filter_template()

    Regards

    #60735
    @conscious-crafties

    Thank you Varun, will this solve all the issues on the Product-Edit form mentioned in this thread?:

    1. Searchable scrollable fields not displaying (Tags and Linked Products)
    2. Custom Paragraph text not displaying
    3. Custom text field not displaying

    I have just sent my contact details via your Contact Form.

    I did notice that your contact form page is not secure. Ben and Jamie from WVVendors use a plug in on their forum for users to mark their reply as private for when we send them Admin log in details. So you may want to look into that. If I wasn't desperate to get this fixed I wouldn't have normally added my admin log in details to an unsecure form.

    Thanks,

    Karen

    #60763
    @vapvarun

    thanks for your input, we will enable https on our contact page and also consider private topic option.
    Regards

    #60770
    @conscious-crafties

    Great thanks Varun 🙂
    Do you know when a developer will be free to do the changes on my site?
    Many thanks,
    Karen

    #60783
    @conscious-crafties

    Hi Varun,

    Thank you my paragraph text is now displaying 🙂
    However for some reason it appears in red font, so looks like an error message rather than text to help the Vendor. Do you know why it now appears in red font? (see screenshot)

    My custom field is now displaying thanks very much. Although it's missing the help text under the Handmade field ‘Remember to allow time for any sickness'. This now only displays if users click on the information icon. Then it displays in a dark grey box with blank writing so the user can't read it (see screenshot).

    Also more importantly, the Tags and Linked products fields still aren't displaying 🙁

    Karen

    #60991
    @conscious-crafties

    I'm bumping this one as it's my most urgent issue because Vendors cannot add all the information when listing products.

    Thank you for your help,

    Karen

    #61147
    @conscious-crafties

    @tomchedd and @vapvarun

    With regards to the Tags and Upsell fields not displaying for Vendors on the Add Edit product form, Ben from WCVendors has confirmed that tags and upsells are not working in your theme. They briefly appear, but are hiding as a result of some CSS or something like that. You can confirm by going to the add/edit product page, and not seeing tags or upsells visible on your own website too. It's not a bug in WC Vendors, but a bug in the Marketplace theme's CSS or something related to its display.

    Also the background colour of the help tool tip on the Handmade custom field would be CSS, so could you kindly fix this too?

    Many thanks,

    Karen

Viewing 15 posts - 1 through 15 (of 23 total)
  • The question ‘URGENT: Templates changes not working (I'm using WCVendors)’ is closed to new replies.