Add-on for product labels: some on category and product pages, others only on product pages

I am looking for a complement for product labels. I have certain product labels that I would like to display both in the categories and on the product pages, while I have other labels that I am only interested in displaying on the product pages.

Therefore, I would like a complement in which for each label that I believe I can choose "Show on category pages" and "Show on product pages" and then be able to verify one of them, or both.

Does anyone know of a complement that can do this?

Thanks in advance.

seo – Should I add the category page number to the breadcrumbs on the product page

I am currently working on a website that has paginated content. It is a list of products. There are many categories, but to simplify, suppose I have only one category with many pages.

I have implemented pagination so that search engines can index it. Here is my implementation:

  1. prev / next meta tags
  2. Canonical URL pointing to itself (that is, the first page points to itself and the second page also points to itself).
  3. there are no blocks in indexing ?page= pages
  4. The breadcrumbs for the first page are Main > Category, but for all other pages are Main > Category > Page X.
  5. Bread crumbs are also added to structured data, and I also have a ItemList structured data element that represents the list of products shown.

Everything works as expected. However, currently, all my products have the following bread crumbs: Main > Category > Product X regardless of whether my product appears on the first page or not. I was wondering if there is any SEO benefit in changing this to Main > Category > Page X > Product for products that do not appear on the first page of my category?

I think this would be a welcome change from the point of view of the user interface, but I'm worried that it may negatively affect my SEO. Also, I am worried that I can make my structured data paths a little worse. Google shows them in the search results, and I'm not sure that Page X It would be a great detail to put there a product route 🙂

Does anyone have any ideas / experience on this matter?

plugins – How to place the add to cart button in the sidebar section on the woocommerce product page?

Battery exchange network

The Stack Exchange network consists of 175 question and answer communities, including Stack Overflow, the largest and most reliable online community for developers to learn, share their knowledge and develop their careers.

Visit Stack Exchange

7 – How to display a variation of a product in a Display Panel

I have a Display Panel on my home page where I list all the products that are in promotion. Each product variation that can be configured to "show on promotion banner 1" through a taxonomy term field with check boxes. Then, the store owner can now mark this checkbox to indicate that this variation of the product is in promotion. This works but only for product screens that have only 1 variation. When, for example, I only mark this check box for the "product variation 4" of a particular product and not other variations, the first variation is shown with a variation selection widget and that is not what I want. So how can I show that particular variation without the widget but with all the correct data and a button to add to the cart?

Functional analysis of fa – Density of a subspace in the product space

Leave $ D $ be a bounded domain of $ mathbb {R} ^ n $ with smooth limit $ partial D $. Is the next subspace dense in the product space? $ L ^ 2 (D) times L ^ 2 ( partial D) $:
$$ {(f, f rvert _ { partial D}): f en C ^ infty ( overline {D}), ( Delta f) rvert _ { partial D} = 0 } . $ PS
We can think about using the density of $ C_c ^ infty (D) $ in $ L ^ 2 (D) $, but I didn't get a final answer. This question was motivated by the density of the subspace
$$ {(f, f rvert _ { partial D}): f en C ^ infty ( overline {D}) }. $$
Thanks for any suggestions.

WooCommerce composite product download plug-in – Everything else

If you are looking for the WooCommerce composite product download plug-in, then you are in the right place. It allows its customers to assemble different products before buying, such as bicycle, laptop, computer, etc. The WooCommerce composite product download plug-in allows you to choose the maximum and minimum quantity of each component included in the composite product. It allows you to offer a discount on the price of the product or on the sale price as well.

product – Magento 1.9 Mysql Query to extract data

I'm a little caught getting magento 1.9 data.
The solution I needed is the mysql query so that I can collect all the data in a table.

The values ​​in the table that I needed from a different table are
Product identification, name, sku, description, price, image name, image path, meta title, meta description.
I don't know much coding, so I definitely need a mysql query.
We expect a solution from experienced developers. Health

magento1.9 Update product inventory included

How to update the inventory of products packaged in magento1.9.

Where can I see the qyt of the packaged products of magento1.9 admin.

Thank you

magento2 – How to display all product thumbnails as a grid (without carousel / ribbon) on the product page in Magento 2?

I've been looking for an answer for a while, but maybe I'm not looking correctly … We are updating to Magento 2 (2.3.2 to be exact) and we are modifying our Luma-based theme. The product page shows the product thumbnails below the main product image as a carousel ribbon that the user must click on, like this:
Product Miniature Tape
We don't like this because it hides views of our products, our customers want to see all the images of the products at a glance, so we want to show them as a grid. We could do this in Magento 1 without problems, like this example:

Product thumbnails as a grid

I could only find options to switch between a horizontal and vertical carousel, but nothing for a "grid view" or "view all thumbnails" option. I tried to play with CSS, but everything I did only made the "tape" taller and the miniatures remained in a single line.

I cannot be the only one who wants to do this, is there an obvious configuration that I am missing, or do I need to modify the theme files … and if so, what is the best approach to get the effect? What are you looking for?

Thanks in advance!

php – WordPress plugin for product filters: implement the principle of sole responsibility

Plugin is a small editor that allows you to create a filter, such as a price slider, check boxes of "brands", a drop-down menu of "stations".

An example of how the plugin works can be seen on the page:

Element classes are the main complement classes but have too many responsibilities

  • Create controls for the editor in admin
  • Representation for the front-end with which the user
    will interact
  • Apply selected options to the product
    request. For example, if the customer chooses the category "cat1" in the item,
    then it is necessary to change the query to the database so that there is
    Only products in this category

Could you tell me what pattern or solution do I need for the code to comply with SOLID principles?

class Drop_Down_Element extends Abstract_Filtering_Element {
    public function get_element_slug() {
        return 'drop-down';

    public function get_element_title() {
        return __( 'Drop Down' );

    public function get_url_key() {
        return $this->get_option( 'url-key' );

    public function apply_filter_to_query( WP_Query $product_query, $filter_value ) {
        $tax_query_item = (
            'taxonomy' => $this->get_taxonomy(),
            'field' => 'slug',
            'terms' => $filter_value,
            'operator' => 'OR'

                $product_query->get( 'tax_query', () ),
                ( $this->get_url_key() => $tax_query_item )

    public function render_template() {
        $this->get_teplate_loader()->render_template( 'elements/drop-down.php', (
            'element' => $this,
            'items' => $this->get_items()
        ) );

    protected function get_items() {
        $items = ();

        foreach ( get_terms( (
            'taxonomy' => $this->get_taxonomy(),
            'hierarchical' => true,
            'menu_order' => 'asc',
            'order' => 'asc'
        ) ) as $term ) {
            $key = urldecode( $term->slug );

            $items() = (
                'key' => $key,
                'title' => $term->name,

        return $items;

    public function generate_controls() {
        $editor_panel = new Tabs_Layout( (
            'title' => $this->get_element_title(),
            'tabs' => (
                'general' => (
                    'label' => __( 'General', 'wcpf' ),
                    'controls' => (
                        new ControlText_Control( (
                            'key' => 'postTitle',
                            'control_source' => 'post',
                            'label' => __( 'Title', 'wcpf' ),
                            'placeholder' => __( 'Title', 'wcpf' ),
                            'required' => true
                        ) ),
                        new ControlText_Control( (
                            'key' => 'optionKey',
                            'label' => __( 'URL key', 'wcpf' ),
                            'placeholder' => __( 'option-key', 'wcpf' ),
                            'control_description' => __( 'The “URL key” is the URL-friendly version of the title. It is usually all lowercase and contains only letters, numbers, and hyphens', 'wcpf' ),
                            'required' => true
                        ) ),
                        new ControlSelect_Control( (
                            'key' => 'itemsSource',
                            'label' => __( 'Source of options', 'wcpf' ),
                            'control_description' => __( 'Select source of options, that will be using to filter products', 'wcpf' ),
                            'options' => (
                                'attribute' => __( 'Attribute', 'wcpf' ),
                                'category' => __( 'Category', 'wcpf' ),
                                'tag' => __( 'Tag', 'wcpf' ),
                                'taxonomy' => __( 'Taxonomy', 'wcpf' )
                            'default_value' => 'attribute'
                        ) )
                'visual' => (
                    'label' => __( 'Visual', 'wcpf' ),
                    'controls' => (
                        new ControlText_Control( (
                            'key' => 'cssClass',
                            'label' => __( 'CSS Class', 'wcpf' ),
                            'placeholder' => __( 'class-name', 'wcpf' )
                        ) )

        return $editor_panel;

abstract class Abstract_Element extends Component {
    protected $project;

    protected $wp_post;

    /** getters, setters, options management **/

    public function get_default_options() {
        return ();

    public abstract function get_element_slug();

    public abstract function get_element_title();

    public abstract function generate_controls();

    public abstract function render_template();

interface Filtering_Element_Interface {
    function get_filter_value( $default_value = null );

    function set_filter_value( $filter_value );

    function get_url_key();

    function apply_filter_to_query( WP_Query $product_query, $filter_value );