I have a WordPress ecommerce page with the plugin “wp-ecommerce”.
The prices are output with wpsc_the_product_price_display();
This outputs the price + the currency shorhand, which for Swedish Kronas is SEK. However, SEK isnt used in sweden, we us kr for kronas.
So the client want me to change every SEK to Kr, and I’m thinking of doing a JS/jQuery solution with something like .find() .replace(), but since I’m really new to the ‘Js Jungle’, I need help with this.
The price only occurs a mere 5 times per page. Every price is in a div with a class of price.
How would i go about creating the jQuery code for this? Since there are multiple tags i guess .each() needs to be involved…