• Resolved golfball-uhu

    (@golfball-uhu)


    Hi, I′m looking for a possibilty to add a second description to “Brand” (extra content..description of the brand). There′s already a description field with a wysiwyg-editor but by my theme this text is getting shown in the top-area of the page…looks cool but not useful if you have more info…only good for a short description.

    I want to have extra content at the bottom of every brand-related page….like I did for product categories like you can see here:

    https://testshop.golfball-uhu.de/produkt-kategorie/golfbaelle/

    Could you make this happen with your plugin!?

    Best Regards

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor titodevera

    (@titodevera)

    Hi golfball-uhu.

    Brands are terms of pwb-brand taxonomy, so you can add your own customs fields.

    Download and include this file from your functions.php.

    ??

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Hi titodevera,
    in combination with your plugin!? I′ll try tomorrow ??

    Best Regards
    René

    Thread Starter golfball-uhu

    (@golfball-uhu)

    From your functions.php!? You mean add this code to functions.php??

    Plugin Contributor titodevera

    (@titodevera)

    Hi golfball-uhu.

    Of course, in combination with the plugin.

    functions.php should looks like:

    
    include 'inc/class-custom-pwb-secondary-description.php';
    

    ??

    Thread Starter golfball-uhu

    (@golfball-uhu)

    Hi,
    I added the file “class-custom-pwb-secondary-description.php” to “wp-content/plugins/perfect-woocommerce-brands/classes” and “included ‘inc/class-custom-pwb-secondary-description.php’;” to my functions.php.

    No secondary description visible? I even tried to create the second description within the ACF-Plugin….”custom-pwb-secondary-description”…no second description visible for my new created Brand-Page:

    https://testshop.golfball-uhu.de/marken/vision-golf/

    What did I do wrong?

    Best Regards
    René

    Plugin Contributor titodevera

    (@titodevera)

    Hi golfball-uhu.

    You′re including file incorretly.

    I suggest you to move class-custom-pwb-secondary-description.php inside your theme, for example wp-content/themes/themename/inc.

    Then you can include it from functions.php:
    include 'inc/class-custom-pwb-secondary-description.php';

    Thread Starter golfball-uhu

    (@golfball-uhu)

    ah ok…worked so far ?? but now the second description shows up in the widget area of the shop sidebar….and not at the bottom!? How can I change the position?

    https://testshop.golfball-uhu.de/marke/vision-golf/

    Best Regards

    Plugin Contributor titodevera

    (@titodevera)

    Hi golfball-uhu

    The previous divs are floated, you need to add a magical clearfix ??

    Add this css rules to your theme’s stylesheet:

    
    .secondary-description:before{
      content: "";
      display: table;
      clear: both;
    }
    
    Thread Starter golfball-uhu

    (@golfball-uhu)

    It′s magic ;-)! Thx for your help!!!!!!!!

    Best Regards

    Plugin Contributor titodevera

    (@titodevera)

    Awesome! Don′t forget to leave a review if you like the plugin!

    Thanks for using Perfect Woocommerce Brands

    ??

    Thread Starter golfball-uhu

    (@golfball-uhu)

    done ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Second Description for Product Attributes posssible?’ is closed to new replies.