Change order of combined product tabs

Literally just swap the order of them in the code: add_filter( ‘woocommerce_product_tabs’, function( $tabs ) { $tabs[‘description’][‘callback’] = function() { global $product; if ( $product && ( $product->has_attributes() || apply_filters( ‘wc_product_enable_dimensions_display’, $product->has_weight() || $product->has_dimensions() ) ) ) wc_get_template( ‘single-product/tabs/additional-information.php’ ); } wc_get_template( ‘single-product/tabs/description.php’ ); }; return $tabs; }, 98 );

Infinite Scroll appending Next Product Category Term pages

I discovered Infinite Scroll has an updateurl function: var nextURL; function updateNextURL( doc ) { nextURL = $( doc ).find(‘.tax-pages a.next’).attr(‘href’); } // get initial nextURL updateNextURL( document ); // init Infinite Scroll var $container = $(‘#main’).infiniteScroll({ // use function to set custom URLs path: function() { return nextURL; }, hideNav: “.tax-pages”, append: “#main ul.products”, … Read more

How to set acf color field as background color to product category

The style-attribute is not in the span-tag, but should be. Further you are using the php opening tag inside of the echo tag (copy-paste?). change ‘<span class=”termek-oldal-kategoria-teszt”> style=”background-color:<?php the_field(‘kollekcio_szine’); ?>”‘ to ‘<span class=”termek-oldal-kategoria-teszt” style=”background-color:’.get_field(‘kollekcio_szine’) . ‘”>’ (sorry, I would have commented, but I don’t have enough reputation)