Multi Vendor Marketplace Plugin | WCFM Marketplace › Forums › WCFM – Marketplace (WooCommerce Multivendor Marketplace) › Vendor Coupon and Address Display
- This topic has 1 reply, 2 voices, and was last updated 5 years, 5 months ago by WCFM Forum.
- AuthorPosts
- June 24, 2019 at 5:00 pm #69336@TravellersIDParticipant
Hi,
I have some questions
1. How to display vendor coupon outside vendor page? Need to display it in that vendor single product. But I need to display it in custom area, not using WooCommerce hook Any snippet that can produce a shortcode for this?
2. How to get vendor city and state address only? Not complete address so I can add “Shipped from (city, state name)” in each single product page.
3. How to display the “Processing time” in single product page? I can’t see it anywhere.
4. Is there a way to customise vendor page without having a lot of knowledge on PHP? Client not happy with the design. I will be happy if I can make this page using CPT?
5. Or, is it possible to connect all of those fields to ACF or Toolset Type so I can easily display it in front end?
Thanks in advance.
- June 26, 2019 at 4:03 pm #69810WCFM ForumMember
HI,
1. How to display vendor coupon outside vendor page? Need to display it in that vendor single product. But I need to display it in custom area, not using WooCommerce hook Any snippet that can produce a shortcode for this?
– Add “Store Coupon” widget under single product page sidebar.
2. How to get vendor city and state address only? Not complete address so I can add “Shipped from (city, state name)” in each single product page.
$vendor_data = get_user_meta( $vendor_id, 'wcfmmp_profile_settings', true ); $street_1 = isset( $vendor_data['address']['street_1'] ) ? $vendor_data['address']['street_1'] : ''; $street_2 = isset( $vendor_data['address']['street_2'] ) ? $vendor_data['address']['street_2'] : ''; $city = isset( $vendor_data['address']['city'] ) ? $vendor_data['address']['city'] : ''; $zip = isset( $vendor_data['address']['zip'] ) ? $vendor_data['address']['zip'] : ''; $country = isset( $vendor_data['address']['country'] ) ? $vendor_data['address']['country'] : ''; $state = isset( $vendor_data['address']['state'] ) ? $vendor_data['address']['state'] : '';
3. How to display the “Processing time” in single product page? I can’t see it anywhere.
– Do you have added this for products? https://ibb.co/w6bPqT9
4. Is there a way to customise vendor page without having a lot of knowledge on PHP? Client not happy with the design. I will be happy if I can make this page using CPT?
– You may change it’s look just using CSS, no PHP required.
5. Or, is it possible to connect all of those fields to ACF or Toolset Type so I can easily display it in front end?
– Which fields?
Thank You
- AuthorPosts
- You must be logged in to reply to this topic.