Results 1 to 10 of 35

Hybrid View

  1. #1
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    6,196
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    M,
    you send the wrong file....

    includes/ templates/ template_default/ templates/ tpl_modules_attributes.php
    1. the red font above is the file I need
    2. use the [PHP] in the front and the closing tag at the end /PHP use brackets around the /PHP

  2. #2
    Join Date
    May 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Attributes Side by Side



    I'm a totally sinner....... hopes this is the file



    ---------------------------------

    <?php

    /**

    * Module Template

    *

    * Template used to render attribute display/input fields

    *

    * @package templateSystem

    * @copyright Copyright 2003-2005 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: tpl_modules_attributes.php 3208 2006-03-19 16:48:57Z birdbrain $

    */

    ?>

    <div id="productAttributes">

    <?php if ($zv_display_select_option > 0) { ?>

    <h3 id="attribsOptionsText"><?php echo TEXT_PRODUCT_OPTIONS; ?></h3>

    <?php } // show please select unless all are readonly ?>



    <?php

    for($i=0;$i<sizeof($options_name);$i++) {

    ?>

    <?php

    if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') {

    ?>

    <h3 class="attributesComments"><?php echo $options_comment[$i]; ?></h3>

    <?php

    }

    ?>



    <div class="wrapperAttribsOptions">

    <h4 class="optionName back"><?php echo $options_name[$i]; ?></h4>

    <div class="back"><?php echo "\n" . $options_menu[$i]; ?></div>

    <br class="clearBoth" />

    </div>





    <?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') { ?>

    <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>

    <?php } ?>





    <?php

    if ($options_attributes_image[$i] != '') {

    ?>

    <?php echo $options_attributes_image[$i]; ?>

    <?php

    }

    ?>

    <br class="clearBoth" />

    <?php

    }

    ?>





    <?php

    if ($show_onetime_charges_description == 'true') {

    ?>

    <div class="wrapperAttribsOneTime"><?php echo TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION; ?></div>

    <?php } ?>





    <?php

    if ($show_attributes_qty_prices_description == 'true') {

    ?>

    <div class="wrapperAttribsQtyPrices"><?php echo zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . '&nbsp;' . '<a href="javascriptopupWindowPrice(\'' . zen_href_link(FILENAME_POPUP_ATTRIBUTES_QTY_PRICES, 'products_id=' . $_GET['products_id'] . '&products_tax_class_id=' . $products_tax_class_id) . '\')">' . TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK . '</a>'; ?></div>

    <?php } ?>

    </div>

    ----------------------------------


    Thanks

  3. #3
    Join Date
    May 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    Quote Originally Posted by Miri4413 View Post


    I'm a totally sinner....... hopes this is the file



    ---------------------------------

    <?php

    /**

    * Module Template

    *

    * Template used to render attribute display/input fields

    *

    * @package templateSystem

    * @copyright Copyright 2003-2005 Zen Cart Development Team

    * @copyright Portions Copyright 2003 osCommerce

    * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0

    * @version $Id: tpl_modules_attributes.php 3208 2006-03-19 16:48:57Z birdbrain $

    */

    ?>

    <div id="productAttributes">

    <?php if ($zv_display_select_option > 0) { ?>

    <h3 id="attribsOptionsText"><?php echo TEXT_PRODUCT_OPTIONS; ?></h3>

    <?php } // show please select unless all are readonly ?>



    <?php

    for($i=0;$i<sizeof($options_name);$i++) {

    ?>

    <?php

    if ($options_comment[$i] != '' and $options_comment_position[$i] == '0') {

    ?>

    <h3 class="attributesComments"><?php echo $options_comment[$i]; ?></h3>

    <?php

    }

    ?>



    <div class="wrapperAttribsOptions">

    <h4 class="optionName back"><?php echo $options_name[$i]; ?></h4>

    <div class="back"><?php echo "\n" . $options_menu[$i]; ?></div>

    <br class="clearBoth" />

    </div>





    <?php if ($options_comment[$i] != '' and $options_comment_position[$i] == '1') { ?>

    <div class="ProductInfoComments"><?php echo $options_comment[$i]; ?></div>

    <?php } ?>





    <?php

    if ($options_attributes_image[$i] != '') {

    ?>

    <?php echo $options_attributes_image[$i]; ?>

    <?php

    }

    ?>

    <br class="clearBoth" />

    <?php

    }

    ?>





    <?php

    if ($show_onetime_charges_description == 'true') {

    ?>

    <div class="wrapperAttribsOneTime"><?php echo TEXT_ONETIME_CHARGE_SYMBOL . TEXT_ONETIME_CHARGE_DESCRIPTION; ?></div>

    <?php } ?>





    <?php

    if ($show_attributes_qty_prices_description == 'true') {

    ?>

    <div class="wrapperAttribsQtyPrices"><?php echo zen_image(DIR_WS_TEMPLATE_ICONS . 'icon_status_green.gif', TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK, 10, 10) . '&nbsp;' . '<a href="javascriptopupWindowPrice(\'' . zen_href_link(FILENAME_POPUP_ATTRIBUTES_QTY_PRICES, 'products_id=' . $_GET['products_id'] . '&products_tax_class_id=' . $products_tax_class_id) . '\')">' . TEXT_ATTRIBUTES_QTY_PRICE_HELP_LINK . '</a>'; ?></div>

    <?php } ?>

    </div>

    ----------------------------------


    Thanks
    Any News ????

  4. #4
    Join Date
    May 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    "Thanks a lot!", I Think We Made It.

    http://danielsami.com/opticlub/index...&products_id=1

  5. #5
    Join Date
    Feb 2007
    Location
    Ontario, Canada
    Posts
    36
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    Hey, that looks good, but if you view your site in Firefox, it looks as though you missed an ending --> in your file. This causes your collapsible panel to appear a number of times in Firefox.

    Colleen

  6. #6
    Join Date
    May 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    Yes Thanks for looking,

    Helppppppppppp!!!!!!

    I just don't understand the php

    It looks like some statement is calling my attributes, and printing my table many times as attributes I have

    Help Please

  7. #7
    Join Date
    May 2008
    Posts
    23
    Plugin Contributions
    0

    Default Re: Attributes Side by Side

    "I Made It Through The Rain" and "I Can See Sunshine"



    http://opticlubusa.com/index.php?mai...&products_id=1

    Thank You!!!!!!!!!!!!!!!

 

 

Similar Threads

  1. All attributes are in a straight line, how to make it display side by side?
    By justwonder2 in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 2 Dec 2012, 10:39 PM
  2. Display-only attributes: show side by side?
    By cosmocanuck in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 20 Mar 2011, 04:29 AM
  3. Display product attributes in two columns (side by side)
    By DivaVocals in forum Templates, Stylesheets, Page Layout
    Replies: 72
    Last Post: 8 Nov 2010, 01:55 AM
  4. Side by side read-only attributes... possible? how?
    By cosmocanuck in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 29 Jun 2010, 07:17 PM
  5. I need to Show attributes side by side
    By roy(irishtaxi) in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 13 May 2008, 03:46 AM

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