J
J
jusilit2020-02-07 00:34:48
npm
jusilit, 2020-02-07 00:34:48

"Similar products" from the same category and with the same attribute in WooCommerce - how to do it?

Can you please tell me the solution so that on the product page (in the product card) in the Recommended products block, products from the same category and with the same value of a certain product attribute are displayed? At the moment, it shows either a category or an attribute, but a combination is needed.

For example, for a women's clothing store:
each product has an attribute: fabric (satin, guipure, etc.)
for example, on the product page from the "Dresses" category, for which fabric = guipure, products from the same category should be displayed in the "Recommended" block "Dresses" and with the same attribute value fabric = guipure.

Answer the question

In order to leave comments, you need to log in

4 answer(s)
N
nutkatuz, 2021-11-10
@nutkatuz

very rude answer about the first line. what kind of people. actually, you need to remove the node from the computer through programs and components and download the versions listed in the 4th (!) Line of the version - up to the 9th one at most! https://nodejs.org/download/release/v9.0.0/ then it will be possible to use this version of npm and upgrade to the latest by deleting the local npm, then reinstall the last node.
Initially, I generally thought that this problem could be solved by updating npm via yarn with the yarn add [email protected] -g command, but for some reason it didn’t work, the version remained the same)

A
Alexey, 2019-05-23
@RusTech

First line:
npm WARN npm npm does not support Node.js v10.15.2

V
Victor P., 2020-10-15
@Jeer

Hello, did you find a solution to the problem?
I have a similar one, there are several developers in the project, one added a package, it got started. I stopped collecting. We found a difference in the version of the node, I installed the latest one, this error started. Delivered the last stable, a similar error. Uninstalled/reinstalled, nothing helps anymore.
Damn node

R
Roman, 2021-06-18
@r0n1x

npm cache clean -f
npm -g uninstall npm
npm -gi npm

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question