Technogran
Forum Replies Created
-
Forum: Plugins
In reply to: Product images on 'review order' page of shopping cartI managed to delete the image altogether and it worked well. Sorry I can’t send you a link – I am developing the site on a
local browser.In Dashboard go to Appearance> Editor> then under Templates choose
wpsc-shopping_cart_page.phpJust a little way down you should see the following line of code:
<tr class=”product_row product_row_<?php echo wpsc_the_cart_item_key(); ?>
<?php echo $alt_class;?>”>I left the above line of code intact but in the next line of code the <td> shown below contains the call for the product image. I deleted the section below and this removed the image altogether. You might want to copy this into notepad before you
delete – just in case.Delete this:
———————————————————————
<td class=”firstcol wpsc_product_image wpsc_product_image_<?php echo
wpsc_the_cart_item_key(); ?>”>
<?php if(” !=wpsc_cart_item_image()): ?>
<img src=”<?php echo wpsc_cart_item_image(); ?>” alt=”<?php echowpsc_cart_item_name(); ?>” title=”<?php echo wpsc_cart_item_name(); ?>”
class=”product_image” />
<?php else:/* I dont think this gets used anymore,, but left in for backwards
compatibility */
?>
<divclass=”item_no_image”>
“>
<span><?php _e(‘No Image’,’wpsc’); ?></span>
</div>
<?php endif; ?>
</td>
———————————————————————
When that is gone add the following code in its place, to align the columns with the headers.
———————————————————————<td></td>
———————————————————————
Hope this helps.