Post by astott2014 » Fri Jun 19, 2015 5:15 am

Would it also be correct for me to delete all of the following code:

Code: Select all

<div id="cart">
...
<div>
From: /catalog/view/theme/journal2/template/module/cart.tpl :

And that would only remove my mini-cart, and not cart all together? This would also be the most effective way too?

Active Member

Posts

Joined
Thu Sep 18, 2014 4:39 pm

Post by deepvision » Fri Jun 19, 2015 10:38 am

No, you should not delete. But you can try to change the code to this:

Code: Select all

<div id="cart">
  <div class="heading" >
    <a href="/index.php?route=checkout/cart"><span id="cart-total"><?php echo $text_items; ?></span><i></i></a>
  </div>
</div>
But you'll probably need to change it again next time you update the journal theme

ImageImageImage


User avatar
Active Member

Posts

Joined
Tue May 19, 2015 1:03 am

Post by astott2014 » Fri Jun 19, 2015 11:31 am

deepvision wrote:No, you should not delete. But you can try to change the code to this:

Code: Select all

<div id="cart">
  <div class="heading" >
    <a href="/index.php?route=checkout/cart"><span id="cart-total"><?php echo $text_items; ?></span><i></i></a>
  </div>
</div>
But you'll probably need to change it again next time you update the journal theme
Good point about updating. I agree that the CSS code would be the most straight forward, therefore I am going to stop being a fussy git and settle with that solution since it works fine.

I'd like to say, thank you both very much for your time, you have both been very helpful :) .

Active Member

Posts

Joined
Thu Sep 18, 2014 4:39 pm

Post by aradeth » Thu Apr 21, 2016 10:53 pm

.

New member

Posts

Joined
Wed Jan 20, 2016 5:42 pm

Post by bojan_eliteweb » Fri Aug 12, 2016 4:22 pm

Hello,
I have some issue near to this one, so want to ask you, how can I proceed directly to check out without using cart or Mini Cart popup.
So client will be able to buy only one product at once, and with one click he will be redirected to checkout page.
I am using journal2 theme with OC 2.1.0.1


Posts

Joined
Fri Aug 12, 2016 4:18 pm

Post by IP_CAM » Sat Aug 13, 2016 12:40 am

did you already check on such here, there are several Extensions, doing such:
Ernie

like:
---
DIRECT ORDER ON PRODUCT PAGE
http://www.opencart.com/index.php?route ... n_id=24503
---
Smart Instant Checkout
http://www.opencart.com/index.php?route ... n_id=23362
---
found here:
http://www.opencart.com/index.php?route ... 20checkout

My Github OC Site: https://github.com/IP-CAM
5'200 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 26 guests