If this is your first visit, check our documentation. To post, register or login.
Forums / Customizing the Look of Your Shop / Templates, Stylesheets, Page Layout / Wish to have price in two places or Compact Description on Mobiles.

Wish to have price in two places or Compact Description on Mobiles.

Started by bronco78th on 8 Apr 2016, 11:28 AM · Views: 653

Results 1 to 5 of 5
8 Apr 2016, 11:28 AM
#1
bronco78th avatar

bronco78th

New Zenner

Join Date:
Jan 2014
Posts:
51
Plugin Contributions:
0

Post #1 by bronco78th

Howdy Zenners,

Im using Sheffield Responsive template and Zencart V1.5.4.

Basically my boss likes his long descriptions which isn't much of a problem on Desktop as the Sheffield template has the two column layout (pi-left & pi-right) on the page. the price, Attributes (for which we use many) and buy button is in pi-right which sits alongside pi-left with the description and images.

The problem comes on mobiles that because we have long descriptions the customer sees the images....and has to scroll down the long description before getting to the essential details of price and attributes and the buy button.

Id like to display a COPY of the price in "pi-left" so its quickly visible to the customer on mobiles ONLY......i.e it does not show the copy price on Desktops.

or even better have a 'continue reading button' or similar at the bottom of the description block which opens the rest of the long description text after a certain number of characters. Which ultimately compacts the screen and moves 'Pi-right' up the screen so the price at least is instantly visible to the customer.

Unfortunately I have no idea how to actually implement the above changes which are unique to mobiles.

Any help/advise would be much appreciated...

Regards,

John

8 Apr 2016, 5:55 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Post #2 by kobra

There is a thread dedicated to supporting the 3rd party template "Sheffield Responsive"
You should address this there after reading through the posts to see if it may already have been addressed
https://www.zen-cart.com/showthread.php?217203-Responsive-Sheffield-Blue-v2-0

Zen-Venom Get Bitten

8 Apr 2016, 6:00 PM
#3
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #3 by mc12345678

Well, the price display can be added/copied from the area at which it is currently displayed, but you would want to encase it in a different html tag, then in your responsive.css you could add a display:none for that new field in the resolutions in which it is to be hidden, but will display in the other conditions.

Also could use a form of the mobile detection code to only push the data for customers that are on a desktop.

The other part would more than likely require javascript type coding.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

14 Apr 2016, 9:57 AM
#4
bronco78th avatar

bronco78th

New Zenner

Join Date:
Jan 2014
Posts:
51
Plugin Contributions:
0

Post #4 by bronco78th

Cheers Guys!

MC Thats a great shout...thats what ive implemented.

Regards,

John

14 Apr 2016, 10:33 AM
#5
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #5 by mc12345678

Bronco78th:

Cheers Guys!

MC Thats a great shout...thats what ive implemented.

Regards,

John

Glad something from the suggestion worked. Mind providing some details for others that might happen across this thread looking for their solution to the same or a similar problem? :)

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...