I just installed the latest version and it doesn't auto refresh to show the shipping either. Is anyone else having this happen or is it just me? :smile:
Matt
Printable View
Matt, do you have it running on a live site that I can look at?
If not, can you paste the portion of the URL beginning with "/index.php?"
when you first visit "main_page=checkout"
It should be "index.php?main_page=checkout&action=null"
The script automatically redirects to that page if action is not set.
wish I could help with this, but I only use one shipping method, so there's no updating needed.
drumfactorydirect dot com
add something to the cart and checkout, it doesn't matter if it's with an account, creating an account or COWA. I switched the tpl_checkout_default.php back to what I was using since I haven't had a chance to go and change the new template file to match the current layout. But the header_php.php file in pages/checkout is from the latest version. Let me know if there are any other files that need updating.
Thanks!
Matt
Hi Jeff,
How can we add product image on your one-page checkout in the shopping cart table? Thanks in advance.
Managed to add product images into the shopping cart table. But they are too big to my liking. How can I resize it? The code I am using is as follows:
<?php
$products = $db->Execute("SELECT products_image
FROM " . TABLE_PRODUCTS . "
WHERE products_id ='" . $order->products[$i]['id'] . "'");
echo '' . zen_image(DIR_WS_CATALOG . DIR_WS_IMAGES . $products->fields['products_image'] , $order->products[$i]['name'], SMALL_IMAGE_HEIGHT, SMALL_IMAGE_WIDTH) . '</a> ';
?>
Thanks for your suggestion. I tried that but it did not resize. Any other idea?Quote:
Try SMALL_IMAGE_HEIGHT/2, SMALL_IMAGE_WIDTH/2
If that's still too big you can try /3 or /4.
Hope that helps!
Matt
how about adding another variable to your CSS? that you pass in the additional PHP?
I have no idea if that would work, but it's an idea?PHP Code:
img.cartProductDisplayXXX {
width: 2em;
height: 2em;
}
Thanks for your suggestion. I tried putting your code in stylesheet but it didn't work. By the way, what's with the XXX? I still can't get it to work as I have no idea what controls the size of the images and which files they are calling from.
Code:img.cartProductDisplayXXX {
width: 2em;
height: 2em;
}