Results 1 to 5 of 5
  1. #1
    Join Date
    Jan 2014
    Posts
    51
    Plugin Contributions
    0

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

    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

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,761
    Plugin Contributions
    9

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

    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....ield-Blue-v2-0
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

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

    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...

  4. #4
    Join Date
    Jan 2014
    Posts
    51
    Plugin Contributions
    0

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

    Cheers Guys!

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

    Regards,

    John

  5. #5
    Join Date
    Jul 2012
    Posts
    16,718
    Plugin Contributions
    17

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

    Quote Originally Posted by Bronco78th View Post
    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...

 

 

Similar Threads

  1. Have salemaker price rounded two decimals just as the displayed price?
    By tj1 in forum Setting Up Specials and SaleMaker
    Replies: 7
    Last Post: 28 Dec 2013, 07:15 PM
  2. wish list compact default or large image resize
    By edux10 in forum All Other Contributions/Addons
    Replies: 3
    Last Post: 24 Feb 2011, 05:40 PM
  3. Two Decimal Places
    By guyhancock in forum Currencies & Sales Taxes, VAT, GST, etc.
    Replies: 3
    Last Post: 23 Jun 2010, 03:31 PM
  4. search_header showing in two places?
    By khopek in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 7 Jan 2009, 01:00 AM
  5. Discount price that could have two prices in one
    By Mattie C in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 28 Apr 2007, 06:20 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR