<?php
defined( 'ABSPATH' ) || exit;
get_header( 'shop' );
do_action( 'woocommerce_before_main_content' );
?>
<header class="woocommerce-products-header">
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<h1 class="woocommerce-products-header__title page-title"><?php woocommerce_page_title(); ?></h1>
<?php endif; ?>
<?php
do_action( 'woocommerce_archive_description' );
?>
</header>
<?php
do_action( 'woocommerce_before_shop_loop' );
echo do_shortcode('[products limit="20" columns="4"]');
do_action( 'woocommerce_after_shop_loop' );
do_action( 'woocommerce_after_main_content' );
do_action( 'woocommerce_sidebar' );
get_footer( 'shop' );
The issue now is that it show the same products in the product archives, no matter what category i open. I have searched through the forums but cant find how to show the products from the current category.
Thank you
]]>I have an e-commerce website running on woo commerce. I am having difficulties in removing the sales badge from all of my products. I checked the astra theme setting but did not find any option to disable it. None of the style option for the sales badge seems to be working. Need your help fixing this issue.
]]>How do I create these different archive grids?
]]>Have tested all known product table plugins but this one is by far the best !! Thank you very much for this wonderful plugin!
Regards, Chris – Roken.nl
]]>I would like to use this addon at pages with products from Woocommerce categories- the pages where are products from certain woocommerce categories. The template for these pages is archive-product.php. Is it possible to use it somehow from the back end? I don’t know which one page is assigned in WP to woocommerce categories if is any.
BR,
]]>product archive(Shop page)
contains Filter
, Sorting View
, and Pagination
, it simply didn’t meet the requirements I needed for my project.
I created the custom toolbar using Elementor and by going to Theme panel
> My Library
> Add New
, and currently, the shortcode for it is [oceanwp_library id="798"]
.
I don’t know what’s the hook if there is any in order to replace the toolbar only in the product archive(Shop page)
. Otherwise, what is the other method to change it?
add_action( '??????????', 'change_product_archives_toolbar' );
function change_product_archives_toolbar() {
echo do_shortcode( '[oceanwp_library id="798"]' );
}
]]>please Help, what could be the problem?
]]>While we love what WordPress + WooCommerce have to offer we find the default implementation of categories + tags assignment on product-pages a bit lacking. With many categories one would end up with a lot of scrolling and for numerous Tags one needed to have a clear idea which Tags are at all available.
I know that there’s a lot of 3rd party tools which show a table of all available product and offer in place editing (including categories assignments and tags), but this is not what I’m looking for. I’m rather interested in an alternative interface for assignment of product archives in the backend of product pages.
Does anyone know such a product?
Ideal for non tech savy editors (who weren’t involved with the information architecture) I would consider a wizard which uses cards:
“What’s the brand of this product?” (User clicks button or enters text)
“Is this [brand name] product a shoe or a piece of clothing? (user clicks button)
“What’s the style of this [brand name, shoe]? Please select.”
Please let us know of all alternative implementations :o)
]]>