Jump to content

Problem with cart


Recommended Posts

I want to modify the cart because now if i have it empty and i click on "Check out" open the page Tour shopping chart/Summary (empty), and this is correct, but, if i add something to the cart and i click on "check out" it doesn't go on the summary page but directly to che "Address".

I want that always when i clock on check out open me the page Summary, i can i do that?

Link to comment
Share on other sites

Yes, you can do this.
You need to replaces two lines in /modules/blockcart.tpl

        <p id="cart-buttons">
           <a href="{$base_dir_ssl}order.php" class="button_small" title="{l s='Cart' mod='blockcart'}">{l s='Cart' mod='blockcart'}</a>
           <a href="{$base_dir_ssl}order.php?step=1" id="button_order_cart" class="exclusive" title="{l s='Check out' mod='blockcart'}">{l s='Check out' mod='blockcart'}</a>
       </p>



with following two lines

        <p id="cart-buttons">
           <a href="{$base_dir_ssl}order.php" class="button_small" title="{l s='Cart' mod='blockcart'}">{l s='Cart' mod='blockcart'}</a>
           <a href="{$base_dir_ssl}order.php?step=0" id="button_order_cart" class="exclusive" title="{l s='Check out' mod='blockcart'}">{l s='Check out' mod='blockcart'}</a>
       </p>




Actually, after change, both button "cart" and "checkout" will go to the same page. You can just remove one of them.

Link to comment
Share on other sites

×
×
  • Create New...