Post by sunrisephp » Tue Aug 30, 2016 8:47 am

Dears,
mobile version : the quantity does not show on the cart page

demo.opencart.com access from iphone6s

Thanks & Best Regards,
Sunrise

New member

Posts

Joined
Fri Sep 07, 2012 4:05 pm

Post by sarthakinfotech » Tue Aug 30, 2016 12:35 pm

hi,
in this case you should contact the theme developer.

Good Day,
Hiren
opencart tips and tricks ,
opencart blogs , opencart extensions/themes , custom development.


User avatar
Active Member

Posts

Joined
Tue Aug 05, 2014 1:12 am
Location - india

Post by sunrisephp » Wed Aug 31, 2016 11:57 am

This is default template also have this issue, I think it is one bug.

New member

Posts

Joined
Fri Sep 07, 2012 4:05 pm

Post by IP_CAM » Wed Aug 31, 2016 8:14 pm

Product Quantity cannot be seen in some resolutions
http://forum.opencart.com/viewtopic.php ... 80#p635583

Ernie

I'm rarely still active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'000+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

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

Post by sunrisephp » Thu Sep 01, 2016 7:36 am

IP_CAM wrote:Product Quantity cannot be seen in some resolutions
http://forum.opencart.com/viewtopic.php ... 80#p635583

Ernie
Many thanks!!!

New member

Posts

Joined
Fri Sep 07, 2012 4:05 pm

Post by IP_CAM » Thu Sep 01, 2016 8:27 am

You're welcome!

It's really a Bug, visually at least! ! But since the Cart- Layout is not (yet!) reponsive anyway, in the way, it's built,
so, just defining a 'max-width' Value does not make it any better... :D
In addition, It so just blocks eventually better used 'space' for other Info, like the Description Text Field width.
---
This is an easy VqMod below, i made,to fix this matter in my Test OC v.2.2.0 Default Theme, for those,
unwilling to manipulate Code-Source. The width:120px; Value could be fine-tuned, to 'match' a Theme or so,
and depending on the amount of visible ADD TO CART Numbers (-9/-99/-999/etc.), to be visible on Screen in any case.

To be uploaded by FTP into the /shop/vqmod/xml/... Subdirectory, or then installed by an OC-2 VqMod-Manager!
PS: Two OC v.2.2 tested VqMod-Managers can be found here:
http://forum.opencart.com/viewtopic.php ... 93#p636297
---
fix_cart_quantity_responsive_view_oc2.xml
---

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<modification>
<id><![CDATA[Cart Quantity visible in Phone Mode]]></id>
<version><![CDATA[OC v.2.2.0]]></version>
<vqmver><![CDATA[2.5.1]]></vqmver>
<author><![CDATA[Ernie - IP_CAM]]></author>
<file name="catalog/view/theme/*/template/checkout/cart.tpl">
<operation error="log">
<search position="replace"><![CDATA[
<td class="text-left"><div class="input-group btn-block" style="max-width: 200px;">
]]></search>
<add><![CDATA[
<td class="text-left"><div class="input-group btn-block" style="width:120px;">
]]></add>
</operation>
</file>
</modification>
Good Luck! ;)
Ernie

Attachments

oc_v2_cart_amount_view_fix.jpg

Order Quantity does not show on the OC responsive View Cart page - oc_v2_cart_amount_view_fix.jpg (97.32 KiB) Viewed 1808 times


I'm rarely still active at the OC Forum. To reach me, contact: jti@jacob.ch
A Demoversion of my free OpenCart LIGHT v.1.5.6.5 Software Edition
can be seen in real Action here: http://www.jti.li/shop/
---
1'000+ FREE OC Extension-Repositories - from OC v.1.5.x up,
on the world's largest OC-related Github Site: https://github.com/IP-CAM
---
Image


User avatar
Legendary Member

Posts

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

Post by nmauricio » Fri Jan 13, 2017 12:15 am

I found another way to minimize this issue
in chart.tpl replace: [style="max-width: 200px] by [ style="min-width=120px ]

instead of define max size of the field you will define minimum size. so it avoid to quantity disapear ;)

old lines (2x) <td class="text-left"><div class="input-group btn-block" style="max-width: 200px;">

new line: (2x) <td class="text-left"><div class="input-group btn-block" style="min-width: 120px;">

Newbie

Posts

Joined
Fri Jan 13, 2017 12:05 am
Who is online

Users browsing this forum: No registered users and 5 guests