Home › Forums › WC Vendors Free Support › WC vendor shortcodes not working good
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.
Thank you to all of our customers!
- This topic has 6 replies, 4 voices, and was last updated 7 years, 2 months ago by WC Vendors Support.
-
AuthorPosts
-
January 18, 2017 at 3:40 am #53400RhejaParticipant
Hello,
I really love the wcvendor plugin. I encounter some problems and I do not know how to solve it.
When I go to the shortcodes page there are some free shortcodes what I can use:
Recent Products Shortcode
[wcv_recent_products vendor=”VENDOR-LOGIN-NAME” per_page=3]Products Shortcode
[wcv_products vendor=”VENDOR-LOGIN-NAME”]Featured Products Shortcode
[wcv_featured_products vendor=”VENDOR-LOGIN-NAME”]When I use the shortcode on a page or in a blog post
When I place the shortcode in a page or post it is showing products of all vendors. It doesnt matter if I change the Vendor login name to the vendor’s name. It does not even change when I put the shortcode without changing the Vendor Login name part.
To check if I understand this schortcode. When I use this shortcode and I change the VENDOR-LOGIN-NAME the functionallity should be to display only the products of the given name?
Can you help me solve this matter because I want to be able to show only products of certain Vendors.
How to solve this matter?
Thanks for helping in advantage and sorry for any bad english.
Have a great day.
jap
ps my systemlog is:
Home-URL: http://www.rheja.com
Site URL: http://www.rheja.com
WC-versie: 2.6.12
Log Directory Beschrijfbaar: /mnt/web120/e1/67/51662967/htdocs/toekomst2020/wp-content/uploads/wc-logs/
WP-versie: 4.7.1
WP Multisite: –
WP Memory Limit: 256 MB
WP Debug Mode: –
WP Cron:
Taal: nl_NL
Serveromgeving
Serverinformatie: Apache/2.2.31 (Unix)
PHP-versie: 5.3.29 – Wij raden minimaal PHP-versie 5.6 aan. Bekijk: Hoe je PHP-versie bijwerken
PHP Post Max Size: 48 MB
PHP Time Limit: 0
PHP Max Input Vars: 4000
cURL Versie: 7.50.3, OpenSSL/1.0.2j
SUHOSIN Geïnstalleerd: –
MySQL-versie: 5.6.35
Max Upload Grootte: 32 MB
Standaard Tijdzone is UTC:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Multibyte String:
Remote Post:
Remote Get:
Database
WC-databaseversie: 2.6.12
woocommerce_sessions
woocommerce_api_keys
woocommerce_attribute_taxonomies
woocommerce_downloadable_product_permissions
woocommerce_order_items
woocommerce_order_itemmeta
woocommerce_tax_rates
woocommerce_tax_rate_locations
woocommerce_shipping_zones
woocommerce_shipping_zone_locations
woocommerce_shipping_zone_methods
woocommerce_payment_tokens
woocommerce_payment_tokenmeta
MaxMind GeoIP Database: De MaxMind GeoIP Database bestaat niet, Geolocatie zal niet werken. Je kunt het downloaden en handmatig installeren vanaf http://dev.maxmind.com/geoip/legacy/geolite/ naar het pad: /mnt/web120/e1/67/51662967/htdocs/toekomst2020/wp-content/uploads/GeoIP.dat. Scroll naar \”Downloads\” en download het \”Binary / gzip\”-bestand naast \”GeoLite Country\”
Actieve plugins (10)
UserPro DashBoard door Deluxe Themes – 3.3
Private Messages Add-on for UserPro door Deluxe Themes – 4.6
WooCommerce integration for UserPro door Deluxe Themes – 1.6
UserPro door Deluxe Themes – 4.9.1
Tags add-on for UserPro door Deluxe Themes – 1.2
WC Vendors door WC Vendors – 1.9.7
WooCommerce door WooThemes – 2.6.12
Payment Add-on for UserPro door Deluxe Themes – 3.0
Social Wall Add-on for UserPro door Deluxe Themes – 3.8
User Rating Add-on for UserPro door Deluxe Themes – 3.6
Instellingen
Forceer SSL: –
Valuta EUR (€)
Valutasymbool-positie left
Duizendtalscheiding ,
Decimaalscheiding .
Aantal decimalen 2
API
API Geactiveerd:
WC pagina’s
Winkelbasis: #36 – /winkel/
Winkelmand: #37 – /winkelmand/
Afrekenen: #38 – /afrekenen/
Mijn account: #39 – /mijn-account/
Indelingen
Producttypes: external (external), grouped (grouped), simple (simple), variable (variable)
Thema
Naam: Twenty Seventeen
Versie: 1.1
URL van de maker: https://nl.wordpress.org/
Subthema: – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt, raden we het gebruik van een subthema aan. Zie: Hoe maak je een subthema
WooCommerce Support:
Templates
Overschrijvingen:January 18, 2017 at 3:44 am #53401RhejaParticipantUpdatet the php version:
### WordPress Environment ### Home URL: http://www.rheja.com Site URL: http://www.rheja.com WC Version: 2.6.12 Log Directory Writable: ✔ WP Version: 4.7.1 WP Multisite: – WP Memory Limit: 256 MB WP Debug Mode: – WP Cron: ✔ Language: nl_NL ### Server Environment ### Server Info: Apache/2.2.31 (Unix) PHP Version: 7.0.12 PHP Post Max Size: 76 MB PHP Time Limit: 120 PHP Max Input Vars: 4000 cURL Version: 7.50.3 OpenSSL/1.0.2j SUHOSIN Installed: – MySQL Version: 5.6.35 Max Upload Size: 64 MB Default Timezone is UTC: ✔ fsockopen/cURL: ✔ SoapClient: ✔ DOMDocument: ✔ GZip: ✔ Multibyte String: ✔ Remote Post: ✔ Remote Get: ✔ ### Database ### WC Database Version: 2.6.12 : woocommerce_sessions: ✔ woocommerce_api_keys: ✔ woocommerce_attribute_taxonomies: ✔ woocommerce_downloadable_product_permissions: ✔ woocommerce_order_items: ✔ woocommerce_order_itemmeta: ✔ woocommerce_tax_rates: ✔ woocommerce_tax_rate_locations: ✔ woocommerce_shipping_zones: ✔ woocommerce_shipping_zone_locations: ✔ woocommerce_shipping_zone_methods: ✔ woocommerce_payment_tokens: ✔ woocommerce_payment_tokenmeta: ✔ MaxMind GeoIP Database: ❌ De MaxMind GeoIP Database bestaat niet Geolocatie zal niet werken. Je kunt het downloaden en handmatig installeren vanaf http://dev.maxmind.com/geoip/legacy/geolite/ naar het pad: . Scroll naar \"Downloads\" en download het \"Binary / gzip\"-bestand naast \"GeoLite Country\" ### Active Plugins (10) ### UserPro DashBoard: door Deluxe Themes – 3.3 Private Messages Add-on for UserPro: door Deluxe Themes – 4.6 WooCommerce integration for UserPro: door Deluxe Themes – 1.6 UserPro: door Deluxe Themes – 4.9.1 Tags add-on for UserPro: door Deluxe Themes – 1.2 WC Vendors: door WC Vendors – 1.9.7 WooCommerce: door WooThemes – 2.6.12 Payment Add-on for UserPro: door Deluxe Themes – 3.0 Social Wall Add-on for UserPro: door Deluxe Themes – 3.8 User Rating Add-on for UserPro: door Deluxe Themes – 3.6 ### Settings ### Force SSL: – Currency: EUR (€) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 ### API ### API Enabled: ✔ ### WC Pages ### Winkelbasis: #36 - /winkel/ Winkelmand: #37 - /winkelmand/ Afrekenen: #38 - /afrekenen/ Mijn account: #39 - /mijn-account/ ### Taxonomies ### Product Types: external (external) grouped (grouped) simple (simple) variable (variable) ### Theme ### Name: Twenty Seventeen Version: 1.1 Author URL: https://nl.wordpress.org/ Child Theme: ❌ – Als je wijzigingen aanbrengt in WooCommerce of in een hoofdthema dat je niet zelf gebouwd hebt raden we het gebruik van een subthema aan. Zie: Hoe maak je een subthema WooCommerce Support: ✔ ### Templates ### Overrides: –
January 18, 2017 at 10:11 am #53456AnnaMemberHello,
One thing to check: you need to use the vendor’s USERNAME exactly as it is. Add a hyphen ( – ) if there are spaces.So, if the vendor has a username of bob jones … but his store is named bob jones store …
You would need to use this in the shortcode:[wcv_recent_products vendor="bob-jones" per_page=3]
Or your vendor has the username toysbybob … store name is Toys By Bob … the shortcode would need to use the username toysbybob.
Correct (yes! 🙂 ):[wcv_recent_products vendor="toysbybob" per_page=3]
Incorrect (no! 🙁 ):[wcv_recent_products vendor="Toys-By-Bob" per_page=3]
January 18, 2017 at 11:46 am #53488RhejaParticipantOk I will check but the Name I used is in this case only Rhea. It is possible there is a space behind it.
But I do have a question about this. When a vendor does not have products or the shortcode has a vendor name correct written.. It will only show the products of the vendor and in case there are no product it will not show products?
Or, how can I explain. When I use Rhea as vendor name and she does not have uploaded products active then it wont show anything? And if there are other vendors with products active.. it still will not show anything?
To be sure if I understand the working of the shortcode okay?
Sorry for any bad english…
Regards Jap
January 18, 2017 at 4:50 pm #53527AnnaMemberHello,
Yes- you are correct. If a vendor has no products, and you put their username in the shortcode, it should show nothing.Things to check:
1. Your vendor URL is not the same as your WooCommerce product archive page. By default, WooCommerce sets the shop page as SHOP (yoursite.com/shop)
And WC Vendors sets the vendor store URL as VENDORS
(Youresite.com/vendors/)
Go to wp admin > WooCommerce > WC vendors > general and make sure your vendor store URL is not shop/2. Wp admin > WooCommerce > settings > display > products
Make sure the shop page view is Products Only (not categories)3. Reset WC Vendors Roles (wp admin > WooCommerce > system status > tools. Reset WC Vendors Roles
January 23, 2017 at 10:18 am #53958kaelobennParticipantGood day @Anna
is it possible to have the Shop base page display set to categories, without breaking the vendor shop pages?
Thank you
Regards
January 23, 2017 at 10:30 am #53960WC Vendors SupportParticipantis it possible to have the Shop base page display set to categories, without breaking the vendor shop pages?
It is not possible, at least, not as written.
WooCommerce sees “show me the shop page” and if you have it set to categories, it’ll do just that, but then the vendor pages use the same template so you’d have to split the template into two conditionals, if vendor do this, if not vendor page do that.
Why havent WE done that? It’ll break every theme out there, and isnt actually possible on a plugin level. On a THEME level it is possible, but not on a PLUGIN level.
Perhaps, this is one of those reasons people do like Social Marketplace (theme) seeing categories on vendor shop pages, it’s one of the nicer features of it, as subtle as it is.
-
AuthorPosts
- The forum ‘WC Vendors Free Support’ is closed to new topics and replies.