• Resolved golfball-uhu

    (@golfball-uhu)


    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]

Viewing 13 replies - 1 through 13 (of 13 total)
  • Thread Starter golfball-uhu

    (@golfball-uhu)

    By the way…the plugin caused an empty site for the single product view :-(!

    Plugin Author mjke87

    (@mjke87)

    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:

    1. First of all, use the default attribute description field, not the one provided by my plugin
    2. 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
    3. description for your “vision golf” brand and check if it is being displayed

    4. If not, you need to make a child theme and override the taxonomy template and make it display the description:
    1. Check out the WordPress doc for taxonomy templates
    2. And check out this guide of how to proceed best to do so
    3. 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

    Thread Starter golfball-uhu

    (@golfball-uhu)

    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é

    Plugin Author mjke87

    (@mjke87)

    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.

    Thread Starter golfball-uhu

    (@golfball-uhu)

    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é

    Plugin Author mjke87

    (@mjke87)

    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,
    Mike

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Wordpress 4.9.2
    WooCommerce Version 3.2.6
    Product Attribute Tab for WooCommerce Version 1.1.3

    I added some info to product attribute vision golf…but any single product view is totally empty!?

    Thread Starter golfball-uhu

    (@golfball-uhu)

    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()
    #6

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Are you working on the problem? Because the activated plugin handicapps me with other tests :-)!

    Best Regards

    Plugin Author mjke87

    (@mjke87)

    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/xzWkRa

    Please install as follows:

    1. Download the new version of the plugin with the above link
    2. Deactivate the old version of the plugin
    3. Delete old version of the plugin (no data is lost)
    4. Install new version using the upload function and choose the previously downloaded zip file
    5. 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,
    Mike

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Hi 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é

    Plugin Author mjke87

    (@mjke87)

    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,
    Mike

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Glad I could help you to fix the plugin.

    Best Regards

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Appearance possible on the product attributes page!?’ is closed to new replies.