Appearance possible on the product attributes page!?
-
Hi,
I′m looking for the possibility to create an additional text field (content) for product attributes (wysiwyg). In your case additional text can be added to the single product page..that′s cool…but I would like to have this info on the product attributes page….like…”brand”. For example on my test-site for the brand vision-golf:https://testshop.golfball-uhu.de/marke/vision-golf/
Is that possible with your plugin?
Best Regards
René- This topic was modified 6 years, 10 months ago by golfball-uhu.
The page I need help with: [log in to see the link]
-
By the way…the plugin caused an empty site for the single product view :-(!
Hi @golfball-uhu,
No, this is not possible with the plugin.
The plugin displays the attribute descriptions in tabs on the product detail page.If you wish to display the attribute description on the attribute archive page, I suggest you proceed as follows:
- First of all, use the default attribute description field, not the one provided by my plugin
- Whether or not the attribute description is displayed on the attribute archive page depends on the theme you are using, so fill out the default
- If not, you need to make a child theme and override the taxonomy template and make it display the description:
description for your “vision golf” brand and check if it is being displayed
- Check out the WordPress doc for taxonomy templates
- And check out this guide of how to proceed best to do so
- Finally, I believe you’ll have to incorporate this function to display the term description
It might also be worth to check out a plugin designed for brands, such as Perfect WooCommerce Brands, if you only need this functionality specifically for brands. This plugin also gives you nice brands listing wich might be useful for you.
Hope this helps.
Kind regards, Mike
Hi Mike,
problem (or not) is that by my theme the attribute decriptions shows up at the head of the attribute page…so it′s more like a title/heading.Actually I don′t want to change that..it looks cool…but therefore I need the possibility for a second description (more content like…for SEO) at the bottom of the page!
Thx for your suggestions 3.a/b/c but I′ve no idea about coding….I need an exact decription how to do that :-)!
The plugin Perfect WooCommerce Brands seems not to have the functions I need….the plugin “ACF for Woocommerce” seems to have that but is not beeing updated since 2 years and is not working for me :-(.
Best Regards
RenéAlright, I understand now.
Well, my plugin certainly does provide an additional text field, which would work out for your purposes, although it would be a little misused, but why not. However, by using my plugin you won’t be able to make it without at least a little bit of coding. Honestly I don’t think you’re going to find an out-of-the-box solution, because it’s a rather specific use-case.
So I suggest you find yourself a programmer ??
Here’s a little advice along the way: You can display the additional term description provided by the plugin with the code snippet below.
use MJJ\WooProductAttributeTab\Meta; echo get_term_meta($term_id, Meta::instance()->get_attribute_meta_key(), true);
You’ll have to copy the taxonomy template from your parent theme and incorporate that snippet at the desired location to the display the additional description.
Good luck.
He Mike,
I would test it but with your plugin activated all my single product information is white…means all the text and the images are gone…!?Best Regards
RenéHi René
Hmmm, that’s definitely something to fix asap. I would appreciate some information about your system in order to solve this error.
Which version of the plugin are you running? There’s has been an issue in version 1.1.2 which might have caused such a behavior. Version 1.1.3 fixes that problem however. I’ve your not already running the newest version, I suggest you update the plugin and check if the error persists.
Otherwise I’d be helpful to have an output from your log file. A blank page means there has been some kind of fatal error which should be logged somewhere. Would be great if you could dig that out.
Also, which WordPress version are you running?
Thanks for you inputs.
Best wishes,
MikeWordpress 4.9.2
WooCommerce Version 3.2.6
Product Attribute Tab for WooCommerce Version 1.1.3I added some info to product attribute vision golf…but any single product view is totally empty!?
2018-01-29T16:24:09+00:00 CRITICAL Uncaught Error: Call to a member function get_attributes() on null in /var/www/web14/htdocs/testshop/wp-content/plugins/woo-product-attribute-tab/components/class.tabs.php:102
Stack trace:
#0 /var/www/web14/htdocs/testshop/wp-content/plugins/woo-product-attribute-tab/components/class.tabs.php(84): MJJ\WooProductAttributeTab\Tabs->get_attributes(‘append’)
#1 /var/www/web14/htdocs/testshop/wp-content/plugins/woo-product-attribute-tab/components/class.tabs.php(66): MJJ\WooProductAttributeTab\Tabs->get_attribute_tab_descriptions(‘append’)
#2 /var/www/web14/htdocs/testshop/wp-includes/class-wp-hook.php(286): MJJ\WooProductAttributeTab\Tabs->extend_product_description(‘<p>Kostenloser …’)
#3 /var/www/web14/htdocs/testshop/wp-includes/plugin.php(203): WP_Hook->apply_filters(‘<p>Kostenloser …’, Array)
#4 /var/www/web14/htdocs/testshop/wp-includes/post-template.php(240): apply_filters(‘the_content’, ‘Kostenloser Ver…’)
#5 /var/www/web14/htdocs/testshop/wp-content/themes/suave/inc/extras.php(365): the_content()
#6Are you working on the problem? Because the activated plugin handicapps me with other tests :-)!
Best Regards
Hi René
Thanks a lot for your information.
I created a new version that should fix this error.You can download the new version 1.1.4-beta here:
https://goo.gl/xzWkRaPlease install as follows:
- Download the new version of the plugin with the above link
- Deactivate the old version of the plugin
- Delete old version of the plugin (no data is lost)
- Install new version using the upload function and choose the previously downloaded zip file
- Activate the new version of the plugin
Please let me know if that fixes your problem. If not, please provide the log file output again. You can deactivate the plugin if the problem persists to avoid any impairment of your site, whilst I further investigate the issue.
Let me know if you need any help.
Best wishes,
MikeHi Mike,
single product is visible again…thx ;-).One last question…i configured the attribute tab for “Brand = Marke” and the tab “Brand = Marke” is added to the single product view…but it′s the attribute name “Marke” and not the brand itself…like I configured for the brand “Vision-Golf”!
For example here:
https://testshop.golfball-uhu.de/produkt/golfball-vision-the-gel-pinky/Makes no sense for me this way…did I do something wrong or does the plugin work that way!?
Best Regards
RenéHi René
Well yes, that’s exactly how the plugin is supposed to work.
Perhaps in your case it would make more sense to name the tab “über die Marke” to make it more speaking.Or perhaps in your case it would make most sense to display the “brand” description in the main description tab, rather than in a “brand” tab. You can configure the behavior of the plugin by visiting the edit screen of your “brand” attribute. Visit the FAQ section of the plugin for more information.
FYI: The strongest use case for this plugin is the “Size” attribute. One product (e.g. a pair of pants) typically has multiple sizes which are all described in detail in the “Size” tab. This use case is also described in the main plugin description.
Other than that it’s great news the problem is solved. The next official plugin version will include that fix.
Best wishes,
MikeGlad I could help you to fix the plugin.
Best Regards
- The topic ‘Appearance possible on the product attributes page!?’ is closed to new replies.