Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Mar 2009
    Posts
    26
    Plugin Contributions
    0

    Default Remove "optionName" and edit "Add to Cart" frame on product page

    I am having trouble figuring out how to remove the text from the product pages saying "Media Format" (optionName) which appears on the left side of the radio buttons where customers can select file size to download. The text only contributes to squeeze the attributes towards the middle, while I would like them to be aligned left.

    I am also having trouble figuring out how to edit the area inside the "add to cart" frame. I would like the button to be on the same line as the "Add to Cart" text, not beneath.

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Remove "optionName" and edit "Add to Cart" frame on product page

    Two possible solutions for your options name issue:
    1. add to your styelsheet :
    Code:
    h4.optionName {
    display: none;
    }
    2. Edit an override copy of includes/templates/template_default/templates/tpl_modules_attributes.php - delete this line:
    PHP Code:
    <h4 class="optionName back"><?php echo $options_name[$i]; ?></h4>
    for your add to cart box - you'll need to edit an override copy of includes/template/template_default/templates/tpl_product_info_display.php - specifically this line of code:
    PHP Code:
        $the_button PRODUCTS_ORDER_QTY_TEXT '<input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" /><br />' zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '<br />' zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CARTBUTTON_IN_CART_ALT); 
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Mar 2009
    Posts
    26
    Plugin Contributions
    0

    Default Re: Remove "optionName" and edit "Add to Cart" frame on product page

    Thanks, I'll have a go at that

 

 

Similar Threads

  1. v150 How do I edit Product Listing "Price", "Qty." and Product Info Move "details"?
    By schobook in forum Templates, Stylesheets, Page Layout
    Replies: 9
    Last Post: 18 Jan 2013, 01:02 AM
  2. How to remove "contact us", "My account" , and "view cart"?
    By thestampnomad in forum Basic Configuration
    Replies: 2
    Last Post: 13 Aug 2010, 07:55 PM
  3. EasyPopulate problem: "Add to Cart" and "price" not showing on product info page
    By pcspot in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 29 Apr 2010, 08:06 AM
  4. Replies: 2
    Last Post: 11 Feb 2010, 09:13 PM
  5. Remove "Add: [ ]" and "Add selected products to cart" from product pages? possible?
    By edwardtilbury in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 1 Sep 2008, 03:13 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