Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Problems moving elements on product display pages

    I've been trying to move things like Main Product Image, Product Price Block, Category Icon, etc. from the top of the page to the bottom, next to the product attributes.

    I've been trying to move the appropriate blocks in the tpl_product_info_display.php file, everything between the <!--bof><!--eof> pairs like I've done before, but no dice. When I move the Product Price Block it doesn't fire anything out there, when I move the Main Product Image the page goes blank except for the breadcrumbs.

    I realize I'm missing something but I must be looking in the wrong direction.

    http://www.shakatourshonolulu.com/ze...roducts_id=181

    is one of the product pages. I'm eventually trying to move those elements from the top to the bottom so it's together with the attributes like it is on our existing page (http://www.shakatourshonolulu.com/ec...norkeling.html).

  2. #2
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Problems moving elements on product display pages

    myDEBUG tells me it's a PHP Parse error and that there's an unexpected '{' at line 136 of my tpl_product_info_display.php but I don't see one:

    Code:
      /$one_time = '<span >' . TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION . '</span><br />';

    so i'm guessing one is being inserted for some reason?

  3. #3
    Join Date
    Sep 2008
    Posts
    210
    Plugin Contributions
    21

    Default Re: Problems moving elements on product display pages

    Remove /

    PHP Code:
    $one_time '<span >' TEXT_ONETIME_CHARGE_SYMBOL TEXT_ONETIME_CHARGE_DESCRIPTION '</span><br />'
    Our Site: http://zucando.com
    Marketing Plugins: Marketing Modules
    Free Response Templates: Responsive Templates

  4. #4
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Problems moving elements on product display pages

    Quote Originally Posted by cvhainb View Post
    Remove /
    Oops that was a typo. The backslash isn't actually part of my code.

    The same thing happens to me when I try to move the add to cart block, the breadcrumb loads and everything after that gets cut off and I get a blank page.

  5. #5
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Problems moving elements on product display pages

    ok, somewhere along the line I must have dropped an extra character in the file or deleted something or I don't know what. After days of tinkering around and going through all sorts of resources I just reloaded a fresh copy of tpl_product_info_display.php and it works fine.

  6. #6
    Join Date
    Sep 2006
    Posts
    542
    Plugin Contributions
    0

    Default Re: Problems moving elements on product display pages

    What browser are you checking in? I am using FireFox and this section

    <h4>Notes</h4> Bring $7.50 for admission into the Nature Preserve. Wear waterproof sunscreen. Seriously.

    Is dropped down inside your form. It looks fine in Opera. don't know about ie (don't use it)

    Looks like you are missing some html tag
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

    Play with it long enough and you will break it.

  7. #7
    Join Date
    Sep 2013
    Location
    Honolulu, HI
    Posts
    88
    Plugin Contributions
    0

    Default Re: Problems moving elements on product display pages

    I was checking chrome and firefox and ie is usually the last thing I check and yeah elements were encroaching into the form but all I need to do is throw a br class="clearBoth" in there somewhere and that should clear it all up.

    I'm really just focusing on getting everything working before tackling a lot of the visual things.

    I replaced the tpl_product_info_display.php with the original zen cart file and that appears to have cleared up the problems I was having with the blank page. Otherwise I'm not sure what the problem is. I've got a pretty good grip on html and css but the php thing is new to me, so I'm trying real hard to not get bogged down with those problems, and I've been using the forums to help me bridge a lot of the gaps that the tutorials leave.

    Thanks for your concern. There will be more questions :)

 

 

Similar Threads

  1. How to Move certain Elements around and align on Product Pages
    By Horrific_ending in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 7 Dec 2011, 04:44 PM
  2. Positioning elements on the Product Info pages
    By haliciad2 in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 9 Sep 2011, 04:43 AM
  3. Position and Alignment of Elements on Product Pages
    By GoldBuckle in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 3 May 2010, 12:11 AM
  4. Arranging elements on the product pages.
    By sobeman in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 27 Mar 2010, 01:09 PM
  5. Moving Elements on Product Page
    By Giro26 in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 14 Aug 2008, 05:45 PM

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