cancel
Showing results for 
Search instead for 
Did you mean: 

Attributes for products that appear with incorrect units

Attributes for products that appear with incorrect units

Hello Magento Community!

In our site, we have the next attributes for products that appear with incorrect units:  depth (mm) and weight (kg). At the website, they appear as follows 

  • Depth - Exterior (mm) $450  > APPEARS the $ symbol . Should not appear symbol. 
  • Weight - kg 96.0000  > APPEARS the .0000. It should not appear the .0000.

The html code says:
<tr>
<th class="col label" scope="row">Depth - Exterior (mm)</th>
<td class="col data" data-th="Depth - Exterior (mm)">$450</td>
</tr>
<tr>
<th class="col label" scope="row">Weight - kg</th>
<td class="col data" data-th="Weight - kg">96.0000</td>
</tr>

I have not found the code at :
CONTENT > ELEMENTS > PAGES
CONTENT > ELEMENTS > BLOCKS

I have not found that the attribute defines the unit :
At STORES> ATTRIBUTES> PRODUCT

Site:
https://www.safegear.com/paper-star-light-4-fire-safe-7-binders-burglary-test-grade-s2-fire-test-30-...
Code under
<div class="product info detailed ">

Does anybody have an idea that can guide us to solve it?
Thank you!

7 REPLIES 7

Re: Attributes for products that appear with incorrect units

Hi @safegear 

 

Try by changing the type of both attributes to text and then check the results.

 

Hope it helps!

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".

Re: Attributes for products that appear with incorrect units

Thank you Rahul, 


I have not been able to test it. tTe "Catalog Input Type for Store Owner" is disabled once the attribute is created, so I can't change the input type.

One important detail is that other attributes are set also as PRICE and can be viewed correctly on the website.

Error Attribute Values.png

Do you have any other insight?

Re: Attributes for products that appear with incorrect units

Hi @safegear 

 

Not able to see the screenshot as it is visible only once approved by Moderator.

 

Can you please provide link for the same so that i can check there.

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".

Re: Attributes for products that appear with incorrect units

Hi @safegear 

 

Do one more thing go to the product "Paper Star Light 4 Fire Safe - 7 Binders - Burglary Test Grade S2 / Fire Test 30 min - Key Lock" and check the value which you have put in the attributes like "Depth", "Height" etc and share the screenshot.

 

May be someone has mistakenly used the currency sign at the time of filling the values.

 

Thanks

---
If you've found my answer useful, please give"Kudos" and "Accept as Solution".

Re: Attributes for products that appear with incorrect units

Thanks Rahul, 

First screenshot you can see at https://ibb.co/pJ51f8r 
Is a screenshot of MAGENTO>STORES>ATTRIBUTES>PRODUCT  comparing a correct attribute and a non-correct. 

  • You can see  "Catalog Input Type for Store Owner" is disabled once the attribute is created, so I can't change the input type.
  • You can also compare 2 attributes detail with the same properties set (both as Input_Type=Price), were DEPTH is viewed incorrectly on the website. WIDTH is viewed correctly. 

Error Attribute Values.png
Second screenshot you can view it at https://ibb.co/MhQjykS  Is a screenshot comparing Magento>Catalog>Product backend and Front end of the product. This problem is set at all products and all sites. 

Error Attribute Values_2.png

What could other approaches should be checked?
Thanks for help.
Arnaldo

 

Re: Attributes for products that appear with incorrect units

Hi @safegear 

 

Not able to see the screenshots.

Re: Attributes for products that appear with incorrect units

One of the links got an error. 

 

https://ibb.co/pJ51f8r 

 

https://ibb.co/MhQjykS