help to hide the $ from price in wishlist

Highlighted
New Member
3 0 0

hello, i need to hide the $ from the price currency,

 

   $cloneitemprice.html('<span class="money price-new">'+Shopify.formatMoney(product.price)+'</span>');

now it shows $10 i want it to show 10 without the $.

 

thanks in advance

0 Likes
Shopify Partner
236 59 70

Hi @bsliman,

 

Welcome to the Shopify Community!

 

Try this out – it should show the price with the $:

$cloneitemprice.html('<span class="money price-new">{{ product.price | money_without_currency }}</span>');

Let me know if this solves your problem or if you need further help!

Brian | Shopify Partner | Ecommerce Consultant
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution  
 - Need further assistance? Visit www.BrianAtWork.com

0 Likes
New Member
3 0 0

Hello @BrianAtWork 

Thank you for fast answer,

This code hide also the price now its empty.

any advises ?

 

thanks in advance.

0 Likes
Shopify Partner
236 59 70

Hi @bsliman,

 

If you copied/pasted the code exactly as I have suggested, I see no reason why the price should be empty or hidden.

 

You may need assistance from an expert with this.

 

If you're interested in hiring me to solve this for you, please send me a private message. You may also hire help from the Shopify Experts Marketplace.

 

Cheers!

Brian | Shopify Partner | Ecommerce Consultant
 - Was my reply helpful? Click Like to let me know! 
 - Was your question answered? Click Accept as Solution  
 - Need further assistance? Visit www.BrianAtWork.com

1 Like
Hi @bsliman,

Can you please share your store url so i can give you script code here.
Want to modify or custom changes/help on your store hire me.
If helpful then please Like and Accept Solution.
Email: support@briskdevelopers.com
Contact us: https://www.briskdevelopers.com/contact-us
Skype: briskdevelopers
0 Likes