Results 1 to 4 of 4
  1. #1
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Download Radio Button choice Showing Twice

    Hi,
    I've been searching for several hours now to find a solution to this problem. I'm setting test downloads in a test site and the product attribute is showing twice in the product info page, here is an image to illustrate what I'm saying:
    Name:  image1.jpg
Views: 94
Size:  31.5 KB

    I saw this thread that I thought it might be of help, http://www.zen-cart.com/showthread.p...button+showing (because in fact, what I really want is to hide this, I'd just like be seen in the cart) But I was concerned for the fact that I don't understand why it is showing twice, I don't know which files might be involved in that.

    I appreciate any help in this. Thanks in advance.

  2. #2
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Download Radio Button Showing Twice

    Sounds like you've got your template rewritten to show attributes in the top and in the bottom of the page.
    tpl_product_info_display.php ... why do you have it including tpl_modules_attributes.php twice?

    Code:
    <!--bof Attributes Module -->
    <?php
      if ($pr_attr->fields['total'] > 0) {
    ?>
    <?php
      require($template->get_template_dir('/tpl_modules_attributes.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_attributes.php'); ?>
    <?php
      }
    ?>
    <!--eof Attributes Module -->
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    Jun 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Download Radio Button Showing Twice

    Well, I don't know how that happened to be. In fact none of these two files were originally in my override template [RI_07]. The product_info_display.php was included after I asked a question here, in the forum, I took it from the default folder and the: tpl_modules_attributes.php is not even in the template. I have no idea how to solve this, I've just tried to delete this bit
    PHP Code:
    '/tpl_modules_attributes.php'
    from the file thinking that this was the culprit and the page went blank. I appreciate if you can throw some light on this.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,350
    Blog Entries
    7
    Plugin Contributions
    271

    Default Re: Download Radio Button Showing Twice

    I guess it's time to compare all your template files against original files. WinMerge makes quick work of showing you all the differences so you can see where your problems are.

    http://www.zen-cart.com/wiki/index.p...Obscure_Issues
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. download product - radio button choice
    By betheone in forum Setting Up Categories, Products, Attributes
    Replies: 9
    Last Post: 28 Oct 2012, 07:12 PM
  2. the download radio button
    By egghed in forum Customization from the Admin
    Replies: 28
    Last Post: 7 Jan 2011, 12:41 AM
  3. Trouble modifying 1 page checkout to show Radio Button choice
    By nimishashar in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 4 Mar 2010, 02:56 AM
  4. Require a radio button choice
    By midnightwalker in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 6 Nov 2009, 12:10 PM
  5. Can I hide the Download Radio Button?
    By elastic in forum Setting Up Categories, Products, Attributes
    Replies: 7
    Last Post: 21 Apr 2008, 05:45 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