Home › Forums › WC Vendors Pro Support › Vendor Shop Page Not Playing Well With Theme
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 24 replies, 4 voices, and was last updated 8 years, 2 months ago by Michelle.
-
AuthorPosts
-
November 27, 2015 at 10:22 am #16898MichelleParticipant
Hi Guys,
I was going to post yesterday but saw you were actually responding to posts yesterday so decided to hold off. π
I’m having an issue with the Vendor Store Page: the footer div is being pushed above the container div? I read in your knowledgebase I’m suppose to do some copy/paste things (https://www.wcvendors.com/kb/pro-store-layout-fixes/) but… before I went diving into spending a bunch of time figuring it all out, I figured I would ask you in case it is something you’ve seen before.
Also, the permalinks on the page aren’t pulling in the vendor name, just “URL/shop/a_random_number” no matter what I change the settings to.
Can I send you the link and a login to my stage via email so you can see what I am experiencing?
November 27, 2015 at 1:37 pm #16916WC Vendors SupportParticipantHi Michelle,
What theme are you using? I’d prefer to check it out locally first since our test environments are clean and without interference from other plugins or weird issues often found on members websites. That’ll give me a better idea what you’re looking at. And screenshots for extra credit would be much appreciated, and for extra extra credit, draw some circles on what the problem is and describe it here even further. π
Ben
November 27, 2015 at 4:19 pm #16925MichelleParticipantTheme: Legenda by 8themes.com: https://www.8theme.com/shop/wordpress/legenda/
URL of concern: http://wereallmadhere.com/vendorstage/shop/14519/
Normal product archive page: http://wereallmadhere.com/vendorstage/product-category/celebrations/
I’ve attached a screenshot of the site showing the div class “footer-top” above “container” with stuff highlighted in blue. The sidebar area is pushed to the bottom.
November 27, 2015 at 4:25 pm #16931WC Vendors SupportParticipantYour theme is coded to be incompatible with WooCommerce in general. The theme developer has injected HTML and their own PHP into Woo Templates, which causes plugins like ours who hook into those templates to look poor. Three choices:
1.) Tell the theme author to rewrite their archive-products.php to use the WooCommerce hooks/filters, instead of manually hacking in code. (Best choice, since this is a theme developer problem, they are doing things sooooooo wrong itβs not even funny).
2.) Follow this KB article and fix the templates yourself: https://www.wcvendors.com/kb/pro-store-layout-fixes/
3.) Toss some cash our way ($50-$75 depending on the time it takes) for the labor to re-code the templates for your site.
November 28, 2015 at 10:23 pm #17010MichelleParticipantOk. I had a chance to sit down and look at it. The layout issue was an issue with a responsive/viewport media query triggering, not a hook issue, which I didn’t think it was because you are placing the product loop in the woocommerce_before_main_content hook and I haven’t had an issue with that anywhere else in the site…unless there was an open div somewhere.
The header and icon are not displaying and the permalink issue still is there, so I would like to get that fixed before looking at the header/icon issue in case it is an issue with the $store_id and/or $vendor_id variables…which would make sense given the nature of the issues.
Since the free version is required to be running in addition to Pro, I am able to access both vendor dashboards. The free version I am not having the problem with…the permalinks are displaying fine and the store descriptions are displaying fine as well. However with the Pro dashboard and link…numbers in the URLs instead of usernames and no part of the header is showing up (banner, icon, text, anything).
Any ideas RE: the url?
November 28, 2015 at 10:40 pm #17011WC Vendors SupportParticipantHi Michelle,
Let’s page Jamie in on the URL issue. I’m not sure what the heck that could be. @digitalchild — and now the beast has been summoned. π
Ben
November 29, 2015 at 9:30 am #17028MichelleParticipantI just realized the shops are showing different products as well: the free version is limited to just the account’s products but the pro version is showing all the products on the site, like the normal archive page would. (In case this extra info helps)
November 29, 2015 at 11:41 am #17041WC Vendors SupportParticipantNovember 29, 2015 at 8:15 pm #17094OmarParticipantHi guys,
I am having the same thing here, i.e the free version works fine but when I activate the pro version the links start to show numbers instead of vendors names and the layout gets messed up too.
Is there a way to disable the “custom pro pages” as I was really happy with the free version?
Many thanks,
ONovember 30, 2015 at 2:18 am #17098JamieKeymasterHello,
Version 1.2 will have this feature @omarobaid, at this stage I think we will be putting the custom vendor pages out to pasture as they are just causing too many issues. I’ll continue to use them on the backend but everything else will be using cleaner versions of the free store fronts. This will fix 99.9% of style issues as we will be using built in woocommerce pages as opposed to hooking into the woocommerce loop and hoping for the best.
If the stores are showing numbers it’s because at some point the vendor didn’t set a shop name correctly. In the mean time you can use the code at the bottom of this knowledge base article for pro and that will disable the pro store links and restore the free ones :
https://www.wcvendors.com/kb/removing-sold-by-on-your-site/
cheers,
Jamie.
November 30, 2015 at 7:39 am #17115OmarParticipantFantastic, this works.
Thank you very much for the quick fix. Really appreciate your support.
Regards,
ONovember 30, 2015 at 6:36 pm #17186MichelleParticipantIs there a fix to the issues I am having?
December 2, 2015 at 12:12 pm #17315WC Vendors SupportParticipantYou’re using the same slug for /shop/ for products and /shop/ for pro vendor stores.
wp-admin > WooCommerce > WC Vendors > Pro and change the “shop” text you see to something else. The default is “vendor_stores”. Perhaps “ourshops” or something like that. Whatever you like.
December 2, 2015 at 3:33 pm #17326MichelleParticipantI know I am using the same term for slug and page, it is the only thing that is working to display the page remotely correctly. I added that info in case it helped you figure out as to why I was having issues with things…other than having really sh*t luck recently, that is…:)
DIFFERENT SLUG AND PAGE NAMES:
Things that show up: Banner, Shop name, description, address, phone number
Issues: Icon doesn’t show up & layout gets blown like there is an open div somewhere (see previous screenshot…sans the avatar/icon now).SAME SLUG AND PAGE NAME
Things that show up: Shop name & description (options for free plugin like that is over riding the pro shop page, it’s basically just pulling in the shop header file from the free plugin. When I make changes there, they show up.)
Issues: Banner, avatar, description, address, phone number do not show up.Is there a way I can just add the shop icon/avatar to the free plugin template? I played around with the shop header file and have it working pretty much the way I want, if I can just add that it may be duct tape enough to roll with…without spending a boat load more time on it.
S
December 2, 2015 at 4:02 pm #17331MichelleParticipantI lied. I just applied a change to the shop description for a sample vendor and everything broke. It is now just showing the default product archive page for my template. Not awesome.
December 3, 2015 at 10:40 pm #17530WC Vendors SupportParticipantHi Michelle,
I logged in, and you had your Shop page, your Pro Vendor Store slug, AND your Free Vendor Store slug set to the same thing. That’s 3 conflicting permalinks. I’ve changed them back to their defaults now.
The /vendor_stores/ pages look goofy because your theme is coded incorrectly and is not hooking into WooCommerce for all WooCommerce pages. Your theme is coded to be incompatible with WooCommerce in general. The theme developer has injected HTML and their own PHP into Woo Templates, which causes plugins like ours who hook into those templates to look poor. Three choices:
1.) Tell the theme author to rewrite their archive-products.php to use the WooCommerce hooks/filters, instead of manually hacking in code. (Best choice, since this is a theme developer problem, they are doing things sooooooo wrong itβs not even funny).
2.) Follow this KB article and fix the templates yourself: https://www.wcvendors.com/kb/pro-store-layout-fixes/
3.) Toss some cash our way ($50-$75 depending on the time it takes) for the labor to re-code the templates for your site.
If you would like to use the Free templates, instead, you certainly can, by using this code: https://www.wcvendors.com/kb/removing-sold-by-on-your-site/ and use only line #15, #16, and #17. Then you would enable Shop Headers in your WC Vendors setting, and edit the vendor-main template in order to add the avatars to match your design.
The best solution, of course, would be to have Legenda simply fix their theme.
January 1, 2016 at 11:07 am #19668MichelleParticipantI just sat down to work on this again now that the holidays are over. The advice above still didn’t work, is that the correct link to the code that is suppose to default to the free template? I don’t just want to remove functionality from the pro template, the template doesn’t work but the free template does so I’d like to actually use it.
January 1, 2016 at 1:45 pm #19677MichelleParticipantOkay,
I kind of got it working…in what is probably an extremely cringeworthy way for someone who knows what the h*ll they are actually doing, but don’t judge me. It works for the moment and that is good enough for now prototype wise. I turned off the “View Stores” link option in the backend.
I added this to class-mcvendors-pro-dashboard.php near line 472:
$shop_name = get_current_user_id() ;
And this before the at the end of the navigation:
echo '<li><a href="http://www.foo.com/vendors/' .$shop_name. '">View Shop</a></li>';
And it works! Yay! Only…exactly how it is suppose to and pulling the user id instead of the display name. Any help on what to replace “= get_current_user_id();” with to pull the vendor display name?
I need http://www.foo.com/vendors/shop_name instead of http://www.foo.com/vendors/666
January 1, 2016 at 2:15 pm #19679WC Vendors SupportParticipantHi Michelle,
get_current_user_id() does exactly what it sounds like. Whoever is on your site and logged in, that’s the user ID it pulls. π
Quite frankly, I would abandon your code project, as with v1.2.0 which Jamie is finishing up now (~1 week till release) the vendor store custom post type will be removed and your theme will work just fine without any additional coding required to fix the crappy theme. π
If you continued to work on it now, v1.2.0 would make it all useless code anyway, so just kick back and enjoy the week and know it’ll be much better soon. π
Ben
January 11, 2016 at 1:44 pm #20404MichelleParticipantI read on another forum entry that you don’t have WPMU support yet, so when I pulled the site off of WPMU to a single build (which I was planning on doing anyway after it grew a bit bigger than a blog) and it works brilliantly! As far as aesthetics go, anyway. I have to test transactions and such still but hopefully you don’t hear back from me. π
Thank you so much for putting together such an amazing plugin! You guys are awesome.
January 22, 2016 at 12:32 pm #21139MichelleParticipantHey Ben,
I changed out my theme to something faster and am still having issues with the layout. Any word on when 1.2 will be out?
S
January 22, 2016 at 1:54 pm #21179WC Vendors SupportParticipantPretty soon. Most likely within the next 3-4 days. We’re buttoning up as many issues as humanly possible and at the same time have added a pile of new features in Pro to v1.2.0.
January 23, 2016 at 11:44 am #21276MichelleParticipantOk, in the meantime I am just overwriting files in my child theme and leaving a note to myself to remove them once the new version comes out to get something functioning and live.
I’ve gotten the header area sorted but I am having issues with the product area. Specifically the sidebar area, I just want to get rid of it but I can’t seem to find it. I can’t just assign display:none in the css because it doesn’t (seem to?) have a unique class, so it kills the sidebar across the site. I’ve tried where it is mentioned in the archive-vendor-store.php and single-vendor-store.php and both but no changes to these files rendered on the live site. Any help would be super please!
January 23, 2016 at 11:47 am #21278WC Vendors SupportParticipantThe side bar is likely hard coded into the WooCommerce templates from your theme developer. Pro v1.2.0 might fix that, but it might not if it’s hard coded by the theme author. In a nutshell, shitty theme author = problems customizing things. We’ve learned the hard way that no theme author does everything right. π
January 23, 2016 at 12:52 pm #21284MichelleParticipantI’m just going to leave this here in case it helps anyone else: there are unique classes after all. The page is wrapped in .single-vendor_store in the body tag. So:
.single-vendor_store .YOUR_THEMES_SIDEBAR_DIV_CLASS {}
or whatever non-wcv div isn’t playing well…can be individually styled/tackled. In this case:
.single-vendor_store .YOUR_THEMES_SIDEBAR_DIV_CLASS {display:none;}
-
AuthorPosts
- The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.