BuddyBoss Home – Web › Support Forums › Themes › OneSocial theme › Important information not displaying on product pages
- This topic has 13 replies, 3 contibutors, and was last updated 8 years, 7 months ago by Anonymous.
Question
February 29, 2016 at 12:34 pm #60792@conscious-craftiesHi there,
Your theme makes my product pages look awesome, unfortunately though, I am now missing some valuable information from the product pages:
Ships from Store Country (from Vendor Settings)
Store Description (from Vendor Settings)
Handmade in XX Days (custom field created on Product-Edit.php)I have attached screenshots of my old and new theme indicating what information is no longer being displayed. I’ve also indicated where on the new themed product page I would like these to be displayed (obviously not with the thick black border that I’ve added just to make it clearer to see)
You have my admin log in details for my website https://www.consciouscrafties.com
Thank you,
Karen
Answers
March 1, 2016 at 5:29 am #60886@
Anonymous1) store description is working fine
https://drive.google.com/file/d/0B3JP4B8e-iV8WV9OcjNFZ3kzNTQ/view?usp=drivesdk
https://drive.google.com/file/d/0B3JP4B8e-iV8X1RBUi13TmNMUUk/view?usp=drivesdk2) Shipping options have it’s own dedicated tab
https://drive.google.com/file/d/0B3JP4B8e-iV8UnJBN1ltZEpKZTg/view?usp=drivesdkwhich also echo Shipping From: United States (US) if Seller Country is set United States (US)
You can use those codes to display at your desired location
3) For any custom field you will need to add your edits inside corresponding file to display custom field values and message.
RegardsMarch 1, 2016 at 8:36 am #60921@conscious-craftiesHi Varun,
Could you have another read of my request and look at the screenshots please?
I’m not sure you understood what I was raising.
Previously the information DID display as indicated and does now NOT display on the PRODUCT PAGE when using your theme.
Problem 1:
Ships from Store Country (from Vendor Settings) – YES I know this displays in the shipping tab (as in my previous theme – but it ALSO displayed by the Add to Basket buttonProblem 2:
Store Description (from Vendor Settings)
You will see from my screenshots that the Store Description DID also display on the PRODUCT page (not just the Vendor Shop pageProblem 3:
Handmade in XX Days (custom field created on Product-Edit.php)
I have the following code in my functions.php for this to display as it DID on my PRODUCT page prior to installing this theme:
/* ADD HANDMADE IN XX DAYS FIELD TO PRODUCT EDIT FORM*/ add_action('woocommerce_product_meta_start', 'wcv_handmade', 2); function wcv_handmade() { $output = get_post_meta( get_the_ID(), 'wcv_custom_product_handmade', true ); // Change wcv_custom_product_handmade to your meta key if ( !empty ( $output ) ) { echo '<Strong><font size="4">HANDMADE IN ' . $output . ' DAYS</font></strong><br>'; } }
I hope the above makes my request clearer for you and helps you resolve ASAP as this information is essential for my customers.
Thank you,
Karen
March 1, 2016 at 10:36 am #60937@
AnonymousWe understand that the information you’re pointing out was displayed next to the button on your old theme, but this is a different theme, that displays things differently.
You cannot expect it to display that information next to the button, and this is not a theme issue.
If you would like that information to display next to your button, you would need to customize the template for your own needs.
We make sure the default data, at least displays somewhere, based on our designs.
Problem 1:
Ships from Store Country (from Vendor Settings) – YES I know this displays in the shipping tab (as in my previous theme – but it ALSO displayed by the Add to Basket buttonSure. But you cannot expect this theme to do it the same way. If you’ve seen the demo, you would notice that our theme clearly doesn’t do that. So if you want to display “Ships from Store Country” info next to button, you would need to customize that for your site.
Other people may not want that.Problem 2:
Store Description (from Vendor Settings)
You will see from my screenshots that the Store Description DID also display on the PRODUCT page (not just the Vendor Shop pageSame thing here, every theme is different. You will notice that our nav doesn’t look the same as the other theme’s nav, and it will never look the same. This is a customization that needs to be done on your site, in a child theme level. Not everyone is interested in having this. This is not a bug in our theme.
Problem 3:
Handmade in XX Days (custom field created on Product-Edit.php)
I have the following code in my functions.php for this to display as it DID on my PRODUCT page prior to installing this theme:The function is there, but it still needs to be called, in the right spot from the template and styled correctly. If you change themes, this will not port over on its own.
I hope this helps clarify everything. These issues are specific to this project, not a theme issue.
@Varun, please assist Karen in explaining where to echo the data, in the template.
Best,
TomMarch 1, 2016 at 11:25 am #60948@conscious-craftiesSorry tom that’s not very helpful 🙁
EVERY WCVendors Customer has the above information displayed within their theme(S) – whichever theme they use. Your theme is NOT displaying what other themes are and you need to work with Ben and Jamie to ensure that this information does get displayed.
Ben provided the hook in my functions.php to allow my custom field (Handmade in XX Days) to appear in my theme. It wouldn’t have mattered what theme I used it would just have worked. WCvendors has been built to allow customers to add custom fields to their product-edit form and display on their product pages, so that needs to be a consideration for you guys.
I don’t mind where it’s displayed on the Product page (as long as it’s not hidden in a tab) it just needs to be displayed.
I am very understanding this is all very new and perhaps I should have waited before purchasing, but at least if we work together it will be perfect for when other WCVendors purchase your theme and I’ll be sure to give an honest review.
Thanks,
Karen
March 2, 2016 at 2:45 pm #61165@conscious-crafties@vapvarun and @tomchedd
Ben from WCVendors says that “woocommerce_product_meta_start” is missing from your store templates. He has used “woocommerce_product_meta_end” on my site now instead, and the Handmade in xx Days information now displays on my product pages. You can view this here:
The ‘Ships from XX’ is a little more complex but Ben can talk you through this.
You guys need to add a filter to the single product templates in the next update of your theme so that other WCVendor customers don’t have the same issue.
Many thanks,
Karen
March 2, 2016 at 3:25 pm #61173@
AnonymousPlease wait for a while.
We have not included shop description on every product in our designs, that’s why it’s not visible.
I have provide custom template file for it which you can add inside your child theme.For you custom field issue, it’s still need to be fixed.
inside buddyboss-marketplace/buddyboss-marketplace/templates/woocommerce/single-product/meta.php
line 22
<?php //do_action( 'woocommerce_product_meta_start' ); ?>
replace it with
<?php do_action( 'woocommerce_product_meta_start' ); ?>
It was commented to preserve the designs
We will working on it to look more better
Regards
Varun DubeyMarch 3, 2016 at 12:37 pm #61333@conscious-craftiesHello,
I replace the code (see screenshot)
But I can’t see the shop description on the single product page:
Thanks,
Karen
March 3, 2016 at 1:02 pm #61335@conscious-craftiesoooh Ive just noticed that the Sold By (renamed by me as Handmade by) is now showing on my product pages – Thank you!!! 😀
March 3, 2016 at 1:45 pm #61341@conscious-craftiesOh it’s disappeared again now. No matter as you have the shop link with the image at the top of every product page and that looks prettier.
I’ve noticed that the ‘Ships From:’ with county has disappeared from my product pages. Ben from WCVendors added this for me but it’s disappeared now since the update. Any ideas why?
Attached screenshot of what it looked like a few mins ago.. (this was located by the Add to Basket’ button.
Thanks
March 10, 2016 at 8:15 am #62361@conscious-craftiesBumping this as ‘Ships From’ was removed following your upgrade
March 18, 2016 at 12:17 pm #63870@
AnonymousHi @conscious-crafties
Let me know if you still have this issue, I have checked your site it seems fine
https://drive.google.com/file/d/0B3JP4B8e-iV8RGRWYzFmSXBXcVk/view?usp=drivesdk
Please create a backup of the plugin if you have custom edits inside it.
Regards
Varun DubeyMarch 19, 2016 at 5:56 am #64031@conscious-craftiesIt’s now looking perfect – thank you so much! 🙂
March 30, 2016 at 12:58 am #65958@
AnonymousHey @conscious-crafties! Great,
I’m going to go ahead and close it. If you still need assistance please simply open a new topic (linking to this one if necessary) and one of the team will be only too happy to help.Cheers!
Varun Dubey
- The question ‘Important information not displaying on product pages’ is closed to new replies.