Home Forums WC Vendors Pro Support Product: Remove handling fee + change tabs title

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.Β  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 16 posts - 1 through 16 (of 16 total)
  • Author
    Posts
  • #17539
    Karen Thomas
    Participant

    Hi Ben,

    Just downloaded at last!
    I’ve recopied my templates with it being such a big change, so just tweaking them again.

    Handling fee
    Previously I was able to delete a line of code in product-edit.php to remove the handling fee, but can’t find it. Can you help?

    Tab titles
    Previously I think you gave me some code to change the titles of the tabs on the Product listing screen, but I’ve tried to add this into the new template and it no likey πŸ™ It creates a new set of tabs rather than renaming the existing ones. Can you help?

    This was the previous code:

    <div class="all-100">
    		<div class="wcv-tabs top" data-prevent-url-change="true">
    
    			<ul class="tabs-nav" style="padding:0; margin:0;">
    	        	<li><a class="tabs-tab" href="#general">Price</a></li>
    	        	<li><a class="tabs-tab" href="#inventory">Stock</a></li>
    	        
    	        	<li><a class="tabs-tab" href="#linkedproducts">Upsells</a></li>
    	    	</ul>

    Many thanks,

    Karen

    #17585
    Arvid Viderberg
    Participant

    Hi Karen.
    For the translation issue, try to make a new translation of the tabs using translation software instead of changing the template files. You can find a guide in the Knowledgebase.

    #17657
    Karen Thomas
    Participant

    Thanks for your help Arvid, something new to learn πŸ™‚

    #17658
    Karen Thomas
    Participant

    Ben and Jamie,

    If there is an easier way to change the product tabs (like in a previous pro version) I’d love to hear from you…

    Thanks,
    Karen

    #17659
    Jamie
    Keymaster

    Hi Karen,

    You can use the tabs filter, or you can wait till next release and there will be a new tab on the settings page in wp-admin that will have all the product form fields that you can enable and disable via check boxes πŸ™‚

    cheers,

    Jamie.

    #17660
    Karen Thomas
    Participant

    Oooh that sounds lush! Will there be a way to rename them too like I have done before? What’s the ‘tabs filter’?

    Also how do I remove the handling fee field before the next release?…
    ‘Previously I was able to delete a line of code in product-edit.php to remove the handling fee, but can’t find it. Can you help?’

    Many thanks πŸ™‚

    #18265
    Karen Thomas
    Participant

    Hi Jamie @DigitalChild,

    Just bumping to see if there’s a way I can remove the Handling Fee from the ProductEdit and Settings screens.

    Many thanks,

    Karen

    #18291
    Arvid Viderberg
    Participant

    Hi Karen, here’s a fix that I used. It is not recommended as it will break when updating wc-vednors pro. But it gets the job done. πŸ™‚

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-store-form.php
    Comment out row 600

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-product-form.php
    Comment out row 1164

    #18360
    Jamie
    Keymaster

    Hi Karen,

    Next major release there will be a new admin screen with check boxes for all the fields on the product page and settings page. You will be able to just click the ones you want and hit save. The templates will then only need to be edited if you’re adding custom fields or want to change the layout/do other fancy stuff.

    cheers,

    Jamie.

    #18483
    Karen Thomas
    Participant

    Hi Arvid!
    Thank you so much for all your help, that it worked a treat! Will remember to do again when we have the next release! πŸ˜€

    Thanks Jamie, I’m sooooo looking forward to the next release and the next major release πŸ™‚

    #19776
    Karen Thomas
    Participant

    Hi @digitalchild,

    Thank you so much for all the tick boxes to hide fields on the ProductEdit form πŸ™‚
    I’ve noticed that ‘handling fee’ field wasn’t an available tick box. No rush as I’m able to use the work around kindly supplied by Arvid above, but thought I’d give you a little reminder as would be great if this was also a hide tick box πŸ˜‰

    Many thanks,

    Karen

    #19804
    Karen Thomas
    Participant

    Hi Arvid @Aweponken,

    Thank you for helping me remove the ‘Handling Fee’ previously. As the code has changed with the recent update I’m not 100% sure which line(s) of code to delete from:

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-store-form.php
    (previously row 600)

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-product-form.php
    (previously row 1164)

    Can you, Ben or @DigitalChild help?

    Many thanks,

    Karen πŸ™‚

    #19808
    Arvid Viderberg
    Participant

    @Conscious Crafties Yes! The new lines are:

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-store-form.php
    row 785

    /wp-content/plugins/wc-vendors-pro/public/forms/class-wcvendors-pro-product-form.php
    row 1177

    #19811
    Karen Thomas
    Participant

    Thanks so much for getting back to me super quick Arvid πŸ™‚ Worked a treat!

    I’ve taken screenshots of the code for next time so I don’t need to ask again (in case @DigitalChild isn’t able to add as a tick box in admin for the next release)

    Many thanks for all your help πŸ™‚

    #19822
    alexstanhope
    Participant

    Hi all,

    The forthcoming changes to the Product editor in the next version sound fantastic!

    Can’t wait to see how it all comes together πŸ™‚

    #19825
    WC Vendors Support
    Participant

    @alexstanhope — The changes to the product editor are already live in version 1.1.5! πŸ™‚ πŸ™‚

Viewing 16 posts - 1 through 16 (of 16 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.
This website uses cookies to ensure you get the best experience on our website.