| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Improved minicart display | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: Improved minicart display
may i know how to show the LAST ADDED item image?
just like the apple store? it will displayed the last added item small image. (for 4.1.x) many thinks!
__________________
-- |
|||||||
#12
|
|||||||||
|
|||||||||
Re: Improved minicart display
Just to answer lootsale's question, yes this mod does work in 4.1.3.
Thanks for the mod, Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#13
|
|||||||
|
|||||||
Re: Improved minicart display
hi,
i have implemented the code and it works fine. could you guys tell me that if i click on remove then it takes me to basket (tho it removes the item from the basket). could it be possible that if i click on remove button then it would simply keep me on the same page and removes the item from the mni basket? I have the same problem while adding a product that it takes me to the main basket. i wana keep it on the same page and the would be added in mini basket. remeber that the mini basket shows up only when you add a product in basket or login. Your assistance is appreciated?
__________________
iddiboy.. lootsale.co.uk.. x-cart 4.1.3.. |
|||||||
#14
|
|||||||
|
|||||||
Re: Improved minicart display
ISSUES WITH SHIPPING TOTALS?
I've installed this mod and the totals aren't adding up correctly: 1 X BAM BAT GRIP T... $5.95 Remove 1 X CREATION JORDA... $49.95 Remove Shipping Cost 7.17 Total: $67.12 After going to checkout while logged in, it looks like the total reflects the sum of everything including the sales tax since my account is from the same state. Anyone know where the code is so that I can output the Tax rate applied in the list with the shipping? Even if it's zero because the customer is from out of state I don't care, I just want to display it in the line items so the math doesn't confuse the customer before checkout time. www.skateboards.com is the site. Thanks much. _Rich_
__________________
Skateboards.com/Surfboards.com ------------------------------------------ X-Cart Pro 4.0.18 ------------------------------------------ phpMyAdmin 2.6.4 ------------------------------------------ MySQL 4.1.12 ------------------------------------------ CentOS release 4.4 |
|||||||
#15
|
|||||||||
|
|||||||||
Re: Improved minicart display
This is the 4.1.3 version for the cart.
You do not need to edit the skin1.css or any language files. Below is a picture of the cart and the lines in bold are the extra lines added to the original x-cart 4.1.3 tpl file. At shopcart/skin1/customer/main/minicart.tpl {* $Id: minicart.tpl,v 1.17 2006/03/28 08:21:07 max Exp $ *} {if $short_mode eq "short"} {* Crystal_Blue *} <table cellpadding="0" cellspacing="3"> <tr> <td>{if $minicart_total_items > 0}<a href="cart.php"><img src="{$ImagesDir}/custom/cart_top_full.gif" width="19" height="16" alt="" /></a>{else}<img src="{$ImagesDir}/custom/cart_top_empty.gif" width="19" height="16" alt="" />{/if} </td> <td nowrap="nowrap"><a href="cart.php" class="MainSubtitleLink">{$lng.lbl_view_cart}</a></td> </tr> <tr> <td colspan="2"><img src="{$ImagesDir}/spacer.gif" width="1" height="1" alt="" /></td> </tr> <tr> <td><a href="cart.php?mode=checkout"><img src="{$ImagesDir}/custom/checkout_arr.gif" width="16" height="14" alt="" align="middle" /></a></td> <td nowrap="nowrap"><a href="cart.php?mode=checkout" class="MainSubtitleLink">{$lng.lbl_checkout}</a></td> </tr> </table> {else} {* Crystal_Blue *} <table cellpadding="1" cellspacing="0"> {if $minicart_total_items > 0} <tr> <td rowspan="3" width="23"><a href="cart.php"><img src="{$ImagesDir}/cart_full.gif" width="19" height="16" alt="" /></a></td> <td class="VertMenuItems"><b>{$lng.lbl_cart_items}: </b></td> <td class="VertMenuItems">{$minicart_total_items}</td> </tr> {* START - ADDED SHIPPING AMOUNT TO CART *} <tr> <td class="VertMenuItems"><b>{$lng.lbl_shipping}: </b></td> <td class="VertMenuItems">{include file="currency.tpl" value=$minicart_shipping}</td> </tr> {* END - ADDED SHIPPING AMOUNT TO CART *} <tr> <td class="VertMenuItems"><b>{$lng.lbl_total}: </b></td> <td class="VertMenuItems">{include file="currency.tpl" value=$minicart_total_cost}</td> </tr> {else} <tr> <td width="23"><img src="{$ImagesDir}/cart_empty.gif" width="19" height="16" alt="" /></td> <td class="VertMenuItems" align="center"><b>{$lng.lbl_cart_is_empty}</b></td> </tr> {/if} </table> <hr class="VertMenuHr" size="1" /> {* START - DISPLAY PRODUCT DESCRIPTION *} <table cellpadding="1" cellspacing="0"> {if $minicart_total_items > 0} {foreach from=$minicart_contents item=item} <tr> <td class="MainSubtitleLink">{$item.amount} X</td> <td class="MainSubtitleLink"><a title="{$item.product}">{$item.product|truncate:15 :"...":true}</a></td> <td align="right" class="MainSubtitleLink">{include file="currency.tpl" value=$item.display_subtotal}</td></tr> {/foreach} {else} <div align="center"><a href="home.php?cat=268" class="MainSubtitleLink">Please Click HERE for SPECIAL OFFERS</a></div> {/if} </table> {* END - DISPLAY PRODUCT DESCRIPTION *} <hr class="VertMenuHr" size="1" /> {/if} {* Crystal_Blue *} And of cause the shopcart/minicart.php Add at the bottom: $smarty->assign("minicart_contents", $cart["products"]); //added this line $smarty->assign("minicart_shipping", $cart["shipping_cost"]); //added this line ?>
__________________
Apache/2.0.55 (Red Hat) & MYSQL Server: 5.0.24 PERL: 5.008005 / PHP: 4.4.4 - 4.3.1 X-CART Shop carts at http://www.nightscene.co.uk/shop/home.php http://www.theshisha.net/shopcart/home.php http://www.system-maintenance.com/maint/home.php http://www.tabac4u.com |
|||||||||
#16
|
|||||||
|
|||||||
Re: Improved minicart display
Will that work for 4.0.18?
Here's the example with my current mini cart image displaying how what the customer sees doesn't add up.
__________________
Skateboards.com/Surfboards.com ------------------------------------------ X-Cart Pro 4.0.18 ------------------------------------------ phpMyAdmin 2.6.4 ------------------------------------------ MySQL 4.1.12 ------------------------------------------ CentOS release 4.4 |
|||||||
#17
|
|||||||
|
|||||||
Re: Improved minicart display
doesnt work on 4.0.14 any ideas.
just displays the shipping total and total plus the view cart and checkout text links. thanks
__________________
xcart version 4.1.6 UK - Brighton QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more. |
|||||||
#18
|
|||||||||
|
|||||||||
Re: Improved minicart display
Yes, skateboards.com is correct....the total is incorrect. In 4.1.3 on my site it appear that the total is just the product prices added together and does not take into account shipping.
Any ideas of how to include the shipping cost to the equation? Louise
__________________
Louise Studio 57 Designs - X-Cart Customization Providing X-Cart Services since 2004 Hottest Blog Directory - Submit Your Blog for a Free Listing |
|||||||||
#19
|
|||||||
|
|||||||
Re: Improved minicart display
any1 cud help on this qs?
if i click on remove in mini basket then it takes me to basket (tho it removes the item from the basket). could it be possible that if i click on remove button then it would simply keep me on the same page and removes the item from the mni basket? I have the same problem while adding a product that it takes me to the main basket. i wana keep it on the same page and the product would be added in mini basket. remeber that the mini basket shows up only when you add a product in basket or login. Your assistance is appreciated?
__________________
iddiboy.. lootsale.co.uk.. x-cart 4.1.3.. |
|||||||
#20
|
|||||||
|
|||||||
Re: Improved minicart display
Great work. Now we need to do like Amazon.com, and after user clicks add to cart, it takes them to a "Customers who viewed this product and also viewed:
". I noticed x-cart is not up with the sign of times. I requested they add upsells to the site after clicking add to cart. anyone agree?
__________________
4.1.3 |
|||||||
|
|||
X-Cart forums © 2001-2020
|