O
O
olgalaz2018-01-22 23:03:26
SVG
olgalaz, 2018-01-22 23:03:26

Woocommerce cart page shows untitled products?

Good evening.
Please tell me how to fix the error - on the Cart page, products are displayed without a name. At the same time, everything is in order on the checkout page.
Thanks in advance

Answer the question

In order to leave comments, you need to log in

2 answer(s)
R
Roma Zvarich, 2019-11-07
@unlik

Description of the "use" element on MDN
Therefore, you should specify an ID for the element inside the included SVG file and specify it when referring to this SVG file .
<svg class="part__svg">
<use xlink:href="/images/icons/cat20.svg #cat " ></use>
</svg>
UPD : Attributes inside SVG interfered with styling

A
Alexey, 2018-01-23
@olgalaz

The css specifies the link color as white.
and the name of the product is the link
white font on a white background is not visible))

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question