plainblack.com
Username Password
search
Bookmark and Share

    

Billing addresses

User lrobinson
Date 3/30/2011 8:53 am
Views 625
Rating -1    Rate [
|
]
Previous · Next
User Message
lrobinson

Slightly confused after upgrading from 7.9.16 to 7.9.24.

On my shop page, I can still select a billing address from a dropdown list. But making a selection does not populate the address fields.

I noticed that shop/cart.js is no longer being added as a script to the shop=cart page. Is that relevant?

Any help appreciated.

Luke

 



Back to Top
Rate [
|
]
 
 
perlDreamer

It's very relevant.  Apparently, in 7.9.19, someone decided that the JS should not be hardcoded in the perl code, but it never got added to the specific cart template.

Please file this as a bug.

The best way to fix this would be to add the missing lines:

-    my $yui = $url->extras('/yui/build');
-    $style->setScript("$yui/yahoo-dom-event/yahoo-dom-event.js");
-    $style->setScript("$yui/json/json-min.js");
-    $style->setScript("$yui/connection/connection-min.js");
-    $style->setScript($url->extras('underscore/underscore-min.js'));
-    $style->setScript($url->extras('shop/cart.js'), undef, 1);

as template attachments to the default cart template.



Back to Top
Rate [
|
]
 
 
lrobinson

Thanks Colin, that works nicely.

Bug filed.

 



Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved