|
#1

Feb 15, 2013, 06:28 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Hi,
on the shopping cart widget and checkout page, where the Tax Included: message appears I am getting (please see attached screenshot):
Tax Included: ()
£2.00
I am not sure if this is a theme or wpec problem either way I need to get rid of these brackets so that I see:
Tax Included: £2.00
the code that produces the tax figure in the wpsc-cart_widget.php is on line 47:
<span class="pricedisplay checkout-tax"><?php echo wpsc_cart_tax(); ?></span>
and the code that produces the tax figure in the wpsc-shopping_cart_page.php is on line 213:
<span id="checkout_tax" class="pricedisplay checkout-tax"><?php echo wpsc_cart_tax(); ?></span>
I am using WP-ecommerce V3.8.9.5 and WordPress Version 3.51 and theme Atahualpa V3.7.10
Best regards and thanks in advance
Dave
|
#2

Feb 15, 2013, 08:02 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what is the url?
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#3

Feb 15, 2013, 09:19 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
hi its on a localhost set up any other info i can provide pleasr let me know
|
#4

Feb 15, 2013, 09:40 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
go to the page in question, view the source, copy it to a text file and attach it to a reply
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#5

Feb 15, 2013, 01:54 PM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Sorry fr the delay in replying, just got back from work, the two files are attached:
wpsc-cart_widget.php which is the cart widget
wpsc-shopping_cart_page.php which is the shopping cart page
Line numbers and code are mentioned in my first post.
Many thanks
Dave
|
#6

Feb 15, 2013, 01:58 PM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Sorry text versions attached
|
#7

Feb 15, 2013, 02:14 PM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
what I want is you to go to your site and visit a page that shows the error. Next use teh browser 'view source' option to see the source of the page. Copy that to a text file and attach it to a reply.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#8

Feb 15, 2013, 04:26 PM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Here you go
|
#9

Feb 15, 2013, 07:24 PM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
let me guess, you are looking at that page using IE...right? Try using another browser and tell me what you see.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#10

Feb 16, 2013, 02:07 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Hi, sorry, but IE is my least favoured of all the browsers, but I have checked it in all the browsers I have installed: IE9 V0.0.8112.16421, Firefox V18.02, Opera V12.12, Safari V5.1.7, Chrome V24.0.1312.57.
The view source I sent you was from Firefox.
The only browser that renders slightly differently from the others is Opera where it is superimposing the brackets over the £ sign, see attached screenshot
Cheers
Dave
|
#11

Feb 16, 2013, 04:37 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
Interesting because on my mac in safari, firefox and chrome this is what I see

which leads me to think it is somethnig at your end. Try it on another machine.
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#12

Feb 16, 2013, 07:00 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Crickey, that really does confuse matters. I am off to work now so I will get it loaded up onto a spare domain tomorrow that is publicly visible, then that will exclude my WAMP set up and I will be able to try it on other machines as well, will keep you posted.
Thanks for your input thus far
Cheers
Dave
|
#13

Feb 17, 2013, 04:52 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Hi,
I have now got it loaded up on a live webserver, so if you could go to http:2brazil.co.uk and then add any product to the shop and then click on the go to checkout link, I am hoping you will see the brackets now that I have been talking about.
I also tried this on my android phone and can see the brackets ()
cheers
Dave
|
#14

Feb 17, 2013, 07:01 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Hi quick update, I had the owner of this site view it as well, she is up in Scotland and she too is seeing the brackets using a PC with IE
|
#15

Feb 17, 2013, 11:06 AM
|
 |
|
|
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
|
|
this has something to due with the plugin's CSS specifically this CSS
HTML Code:
span.pricedisplay {
color: #333333;
float: right;
font-size: 9pt;
white-space: nowrap;
width: 80px;
}
the float: right seems to be the culprit. You should contact the plugin's develpoer
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
|
#16

Feb 18, 2013, 03:18 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Hi,
thanks that gave me the clue I needed, I commented out the float: and that put brackets around the numbers, but at the same time introduced another problem in that the numbers were appearing before the headings on the cart widget, but fixed that in the code.
So all in all a good start to the week and thanks for pointing me in the right direction.
Cheers
Dave
|
#17

Feb 18, 2013, 03:27 AM
|
|
|
59 posts · Jan 2010
Stamford, Lincs, England
|
|
Just sent you a small donation by way of saying thanks
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Linear Mode
|
|