Results 1 to 10 of 10
  1. #1
    Join Date
    Jul 2005
    Posts
    79
    Plugin Contributions
    0

    Default how do i right align my product attributes & remove "starting at" price text?

    on this page http://mymy.us/store/index.php?main_...roducts_id=353 you will see the "starting at" price text. i want to remove that since the price is next to the quantity. i also want to right-align the attributes.

    thanks!

  2. #2
    Join Date
    Jul 2005
    Posts
    79
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    any help is appreciated.

  3. #3
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    The Starting At text before the price is based on Attributes ...

    There is a switch for this for each Product Type in the Catalog ... Product Types ...

    Select a Product Type and click the EDIT LAYOUT button:
    Show Starting At text on Price
    Display Starting At text on products with attributes Product Info 0= off 1= on
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  4. #4
    Join Date
    Jul 2005
    Posts
    79
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    thank you!

    do you know how to right-align the drop-down menu for attributes so it's above the cart button?

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    Haven't a clue ...

    I just write the nifty code so the designers can make everything look good ... never learned how to actually use the stuff it produces for the CSS ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jul 2005
    Posts
    79
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    well thanks anyway... maybe someone else will know?

  7. #7
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    Quote Originally Posted by tarynhipp View Post
    thank you!

    do you know how to right-align the drop-down menu for attributes so it's above the cart button?
    Hi There,

    Unfortunately you can't do this with only css (well you could but it would require some crazy absolute positioning of divs, since the add to cart box is naturally above any product options). But the good news is you can do this in two easy steps.

    First, open up includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php. Find this section:
    Code:
      <!--bof Attributes Module -->
      <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
      <?php
    /**
     * display the product atributes
     */
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
      <?php
      }
    ?>
      <!--eof Attributes Module -->
    and move it, placing it right before:
    Code:
    <!--bof Add to Cart Box -->

    Then open up your stylesheet and add this:
    Code:
    #productAttributes {float:right}
    Then replace the #cartAdd section with this (just adding the clear:both;):

    Code:
    #cartAdd {
    	float: right;
    	text-align: center;
    	margin: 1em;
    	border: 0px;
    	padding: 1em;
           clear:both;
    	}
    Cute site, by the way!

  8. #8
    Join Date
    Jul 2005
    Posts
    79
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    thanks jade! i messed around with it & got it in the order i would like, but i want the cart to be below the attributes & i can't seem to figure out how.

    see here:
    http://mymy.us/store/index.php?main_...roducts_id=353

  9. #9
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    Quote Originally Posted by jettrue View Post
    Hi There,

    Unfortunately you can't do this with only css (well you could but it would require some crazy absolute positioning of divs, since the add to cart box is naturally above any product options). But the good news is you can do this in two easy steps.

    First, open up includes/templates/YOUR_TEMPLATE/templates/tpl_product_info_display.php. Find this section:
    Code:
      <!--bof Attributes Module -->
      <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
      <?php
    /**
     * display the product atributes
     */
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
      <?php
      }
    ?>
      <!--eof Attributes Module -->
    and move it, placing it right before:
    Code:
    <!--bof Add to Cart Box -->

    Then open up your stylesheet and add this:
    Code:
    #productAttributes {float:right}
    Then replace the #cartAdd section with this (just adding the clear:both;):

    Code:
    #cartAdd {
        float: right;
        text-align: center;
        margin: 1em;
        border: 0px;
        padding: 1em;
           clear:both;
        }
    Cute site, by the way!
    I can not find #productattributes what file is this located in? Do I have to create it?
    Also, when I moved my attributes up, my product description is now really low and there is a huge gap inbetween the cart and the image. I need more sleep, this is killing me!!
    Thanks for your help
    www.mommyandbabyessentials.com

  10. #10
    Join Date
    Apr 2007
    Posts
    649
    Plugin Contributions
    0

    Default Re: how do i right align my product attributes & remove "starting at" price text?

    YEAH!!! I figured it out!!!

    And to all those of you who want to move the add to cart box and attributes on top of each other change the % and it moves!!

 

 

Similar Threads

  1. How can I remove the "call for price" text on product listing page?
    By chloe21 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 9 Feb 2009, 04:25 PM
  2. Remove "Product Image" "Item Name" and "Price"...
    By rebekah in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 22 Sep 2008, 06:08 PM
  3. Product Listing, Align "Price" with "More info"
    By utopiko in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Apr 2008, 04:49 AM
  4. Align attributes & remove "please choose"
    By julieoolie in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 9 Mar 2008, 05:24 AM
  5. Align "Buy now" button & product price in product listing
    By jurjenruben in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 25 Dec 2007, 01:26 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