Post by JuuudyC » Fri Feb 05, 2016 9:43 am

Image

Which file should I edit to add red ball image in shopping cart subtotal area? Thought it was the mini cart table in cart.tpl and tried adding a column to the total table but it didn't work. Am using a discount extension; might it override the default mini-cart? Or is cart.tpl the wrong place?

http://ergoiamtoo.com
http://ergoiamtoo.com/store/
http://historymagnets.ergoiamtoo.com/home
http://animalsmagnets.ergoiamtoo.com/home


New member

Posts

Joined
Sat Jul 26, 2014 11:12 am
Location - Elkhart, Indiana

Post by EvolveWebHosting » Fri Feb 05, 2016 9:47 am

It's hard to say for sure if it will over write your sales discount module but it shouldn't.

Remind me which version of OC you're using again please! Then I can do a better job of directing you to the right file.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

New member

Posts

Joined
Sat Jul 26, 2014 11:12 am
Location - Elkhart, Indiana

Post by EvolveWebHosting » Fri Feb 05, 2016 11:44 am

Hi Judy! It should be in catalog/view/theme/your_theme/template/checkout/checkout.tpl

I don't know the line number off hand though. Sorry!

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by IP_CAM » Sat Feb 06, 2016 1:50 am

check the image!
Also tested with left-margin spacing (50%), to get it (responsively!)to the right.
You may have to re-adjust this VALUE, to make it your way. ;)
<span style="margin-left:30%;"> allows me to place it nice, down to 480px width Smartphone Resolution.

Ernie
can be seen momentarely here:
http://www.openshop.li

My Github OC Site: https://github.com/IP-CAM
5'600 + 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

Post by JuuudyC » Sat Feb 06, 2016 8:59 am

Yayy! Worked, thank you very much, folks. The code is in store/catalog/view/theme/yourtheme/template/checkout and the file to alter is cart.tpl.

For some reason one of three stores persists in using the default cart.tpl instead of the cart.tpl installed in that theme's checkout directory. Consequences are purely cosmetic but it's puzzling.

http://ergoiamtoo.com
http://ergoiamtoo.com/store/
http://historymagnets.ergoiamtoo.com/home
http://animalsmagnets.ergoiamtoo.com/home


New member

Posts

Joined
Sat Jul 26, 2014 11:12 am
Location - Elkhart, Indiana

Post by EvolveWebHosting » Sat Feb 06, 2016 10:26 am

JuuudyC wrote:Yayy! Worked, thank you very much, folks. The code is in store/catalog/view/theme/yourtheme/template/checkout and the file to alter is cart.tpl.

For some reason one of three stores persists in using the default cart.tpl instead of the cart.tpl installed in that theme's checkout directory. Consequences are purely cosmetic but it's puzzling.
Glad you got it figured out and sorry I mis guided you to the wrong file.

Opencart Hosting Plans, Domain Registration, Microsoft and Google Email and More
Visit our website for great deals and most importantly, fast and friendly support - www.evolvewebhosting.com


User avatar
Active Member

Posts

Joined
Fri Mar 27, 2015 11:13 pm
Location - Denver, Colorado, USA

Post by JuuudyC » Sat Feb 06, 2016 2:05 pm

Ye got me to the right folder so all I had to do was find the code in Ernie's screen shot.
Takes a village to raise a child or a website.

http://ergoiamtoo.com
http://ergoiamtoo.com/store/
http://historymagnets.ergoiamtoo.com/home
http://animalsmagnets.ergoiamtoo.com/home


New member

Posts

Joined
Sat Jul 26, 2014 11:12 am
Location - Elkhart, Indiana
Who is online

Users browsing this forum: No registered users and 5 guests