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 6 years ago by
WCFM Forum.
- AuthorPosts
- February 15, 2019 at 1:59 pm #48412
samsun34567
ParticipantHi,
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 #48508
WCFM Forum
MemberHi,
Which theme you are using?
Thank You
- February 16, 2019 at 1:40 pm #48528
samsun34567
ParticipantI’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 #48536
WCFM Forum
MemberHI,
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 #48577
samsun34567
ParticipantOkay… 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 #48705
WCFM Forum
MemberHi,
You can not edit from child theme template?
Thank You
- February 18, 2019 at 9:37 am #48735
samsun34567
ParticipantHi,
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 #48796
WCFM Forum
MemberHi,
You right, this is right template.
Thank You
- February 18, 2019 at 5:24 pm #48798
WCFM Forum
MemberBetween, where you want to show this?
- February 19, 2019 at 3:21 am #48873
samsun34567
ParticipantHi,
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 #48987
WCFM Forum
MemberHi,
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 #49080
samsun34567
ParticipantGreat 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 #49098
WCFM Forum
MemberHi,
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 #49101
samsun34567
ParticipantOh okay, in that case it’s fine for now.
Thank you very much for the help!
- February 20, 2019 at 5:20 am #49103
WCFM Forum
MemberYou are welcome 🙂
- AuthorPosts
- The topic ‘Change inquiry button position’ is closed to new replies.