Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » eCommerce & Atahualpa »

[SOLVED] Ata & Wp-ecommerce displaying () on cart widget and checkout


  #1  
Old Feb 15, 2013, 06:28 AM
ozbod
 
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
Attached Thumbnails
Click image for larger version

Name:	wpec-ata.jpg
Views:	705
Size:	52.7 KB
ID:	2220  
  #2  
Old Feb 15, 2013, 08:02 AM
juggledad's Avatar
juggledad
 
23,560 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  
Old Feb 15, 2013, 09:19 AM
ozbod
 
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  
Old Feb 15, 2013, 09:40 AM
juggledad's Avatar
juggledad
 
23,560 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  
Old Feb 15, 2013, 01:54 PM
ozbod
 
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  
Old Feb 15, 2013, 01:58 PM
ozbod
 
59 posts · Jan 2010
Stamford, Lincs, England
Sorry text versions attached
Attached Files
File Type: txt wpsc-cart_widget.txt (2.8 KB, 602 views)
File Type: txt wpsc-shopping_cart_page.txt (24.9 KB, 2087 views)
  #7  
Old Feb 15, 2013, 02:14 PM
juggledad's Avatar
juggledad
 
23,560 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  
Old Feb 15, 2013, 04:26 PM
ozbod
 
59 posts · Jan 2010
Stamford, Lincs, England
Here you go
Attached Files
File Type: txt checkout.txt (79.0 KB, 549 views)
  #9  
Old Feb 15, 2013, 07:24 PM
juggledad's Avatar
juggledad
 
23,560 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  
Old Feb 16, 2013, 02:07 AM
ozbod
 
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
Attached Thumbnails
Click image for larger version

Name:	opera.jpg
Views:	480
Size:	54.9 KB
ID:	2224  
  #11  
Old Feb 16, 2013, 04:37 AM
juggledad's Avatar
juggledad
 
23,560 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
Click image for larger version

Name:	brackets.png
Views:	590
Size:	31.2 KB
ID:	2225
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  
Old Feb 16, 2013, 07:00 AM
ozbod
 
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  
Old Feb 17, 2013, 04:52 AM
ozbod
 
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  
Old Feb 17, 2013, 07:01 AM
ozbod
 
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  
Old Feb 17, 2013, 11:06 AM
juggledad's Avatar
juggledad
 
23,560 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  
Old Feb 18, 2013, 03:18 AM
ozbod
 
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  
Old Feb 18, 2013, 03:27 AM
ozbod
 
59 posts · Jan 2010
Stamford, Lincs, England
Just sent you a small donation by way of saying thanks

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
What's the advantage of a WP shopping cart plugin vs. stand alone cart program? JimTrail eCommerce & Atahualpa 0 Nov 12, 2012 04:38 PM
ECommerce plugin other than "WP eCommerce" kdawes01 eCommerce & Atahualpa 5 Nov 2, 2012 06:10 AM
[SOLVED] WP eCommerce By Pass Checkout for Free Items theadventurebite Plugins & Atahualpa 1 Sep 11, 2012 07:45 AM
[SOLVED] Added center column widget showing in Widget area, but not displaying on pos tsheridan Sidebars & Widgets 2 Dec 22, 2011 10:50 AM
"Add to cart" excerpt buttons not displaying in IE8. furiousfrog Excerpts, Read more, Pagination 2 Oct 13, 2010 05:15 AM


All times are GMT -6. The time now is 12:11 AM.


Powered by vBulletin® Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.