Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Change inquiry button position
- This topic has 14 replies, 2 voices, and was last updated 5 years, 9 months ago by WCFM Forum.
- AuthorPosts
- February 15, 2019 at 1:59 pm #48412samsun34567Participant
Hi,
Wondering if it is possible to change the position of inquiry button as shown in the screenshot?
Thanks!
Attachments:
You must be logged in to view attached files. - February 16, 2019 at 12:41 pm #48508WCFM ForumMember
Hi,
Which theme you are using?
Thank You
- February 16, 2019 at 1:40 pm #48528samsun34567Participant
I’m using the Estore theme.
Here’s an example URL: https://shop.pets-well.com/product/%E9%9B%99%E9%9D%A2%E5%B0%8F%E7%8B%97%E5%9C%96%E6%A1%88%E5%AF%A6%E6%9C%A8%E5%AF%B5%E7%89%A9%E6%8E%9B%E7%89%8C/
Thanks!
- February 16, 2019 at 4:53 pm #48536WCFM ForumMember
HI,
Please enable this option – https://ibb.co/tJHcNHP
Now, add this button where you want using short code – wcfm_inquiry
Thank You
- February 17, 2019 at 5:35 am #48577samsun34567Participant
Okay… but how do I add it right next to the vendor store with short code since I can’t edit the single product page directly?
- February 18, 2019 at 6:30 am #48705WCFM ForumMember
Hi,
You can not edit from child theme template?
Thank You
- February 18, 2019 at 9:37 am #48735samsun34567Participant
Hi,
Could you kindly guide me on which files to edit and how?
I’m assuming it’s this one: wp-content/themes/estore/woocommerce/content-single-product.php ?
Thank you for your help.
- February 18, 2019 at 5:24 pm #48796WCFM ForumMember
Hi,
You right, this is right template.
Thank You
- February 18, 2019 at 5:24 pm #48798WCFM ForumMember
Between, where you want to show this?
- February 19, 2019 at 3:21 am #48873samsun34567Participant
Hi,
I don’t know how to add a shortcode in the template. Please help!
I’d like to add it as show in the first screenshot of my first post.
Thanks!
- February 19, 2019 at 1:42 pm #48987WCFM ForumMember
Hi,
Please add this to your child theme’s functions.php –
add_action( 'woocommerce_product_meta_start', function () { echo do_shortcode( '[wcfm_inquiry]' ); }, 52 );
Thank You
- February 20, 2019 at 3:42 am #49080samsun34567Participant
Great it works!
All there is left is some CSS to put it in the right place.
Could you help me, I tried but couldn’t make it right.
Thanks!
Attachments:
You must be logged in to view attached files. - February 20, 2019 at 5:01 am #49098WCFM ForumMember
Hi,
Now, this will not possible using CSS.
If you want both these two side by side then we have to place “Enquiry” button inside “Sold By” box! Are you OK with this?
Thank You
- February 20, 2019 at 5:12 am #49101samsun34567Participant
Oh okay, in that case it’s fine for now.
Thank you very much for the help!
- February 20, 2019 at 5:20 am #49103WCFM ForumMember
You are welcome 🙂
- AuthorPosts
- The topic ‘Change inquiry button position’ is closed to new replies.