Sharing is helping.

We offer you this space to share your knowledge about Magento and learn from our experienced customers.


    Home Forums Theme Forum HelloUno Product details page problem

    This topic contains 7 replies, has 3 voices, and was last updated by  Anonymous 6 years, 3 months ago.

    Viewing 8 posts - 1 through 8 (of 8 total)
    • Author
      Posts
    • #6525

      Anonymous

      Hello,

      We just uploaded the HelloUno template to one of our sites http://www.virginbattery.com, and everything looks fine, except, the product details pages are not working. We get some error when we click any product…on the front page – sample products, or a product that we created. Any info will be highly appreciated. Thanks a lot.

      Regards,
      Prem

      #6526

      Anonymous

      Hi Prem,

      I’ll try to give you a hand here. Did you try to edit the product details by adding the code posted on this forum? Toward the bottom of the home/virginb1/public_html/app/design/frontend/default/hellouno/template/catalog/product/view.phtml page after the form and above the info_tabs php, try to change your code to this:

      See if that works.

      Also, I recommend you turn Configuration–>Debug–>Profiler to no so malicious users can’t use the information that appears after an error occurs to harm your site.

      #6527

      Anonymous

      Hi Kevin,

      Thank you so much for the reply. Yes, we did try changing your code, but still have the same issue.

      Also, as per your suggestion, Configuration–>Debug–>Profiler , we checked, and it is already set to “no”. Do not know why that info appears then.

      I will really appreciate it if you or someone at hellothemes can offer any other possible fix to this problem. Thanks a lot to you and all other helpful folks in this forum.

      Regards,
      Prem

      #6528

      Anonymous

      Hi Prem, i tried to search in the magento forums for your error but couldn’t find nothing, related errrors yes, but not in view.phtml as you have. Did you modified something after installing the theme?,a always helpfull solution is uninstall magento and reinstall it.

      Regards.-

      #6529

      Anonymous

      Hey Prem,

      Have you looked at your error report in /public_html/var/report ? Let me know if these give you any info. And you can post your view.phtml file for us to look at would also be helpful.

      Kev

      #6530

      Anonymous

      Thanks a lot to both of you for looking into this.Actually, we are also uploading the same template to another website, just to test, as the other one has an older version of magento. I’ll let you know the results of that one.
      Here is the error report, as per your request.

      Thanks for all your help in this matter.

      Regards,
      Prem

      —————————– start error report ————————

      <?php
      /**
      * Magento
      *
      * NOTICE OF LICENSE
      *
      * This source file is subject to the Academic Free License (AFL 3.0)
      * that is bundled with this package in the file LICENSE_AFL.txt.
      * It is also available through the world-wide-web at this URL:
      * http://opensource.org/licenses/afl-3.0.php
      * If you did not receive a copy of the license and are unable to
      * obtain it through the world-wide-web, please send an email
      * to license@magentocommerce.com so we can send you a copy immediately.
      *
      * DISCLAIMER
      *
      * Do not edit or add to this file if you wish to upgrade Magento to newer
      * versions in the future. If you wish to customize Magento for your
      * needs please refer to http://www.magentocommerce.com for more information.
      *
      * @category design_default
      * @package Mage
      * @copyright Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
      * @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
      */

      /**
      * Product view template
      *
      * @see Mage_Catalog_Block_Product_View
      * @see Mage_Review_Block_Product_View
      */
      ?>
      <?php
      $_helper = $this->helper(‘catalog/output’);
      $_product = $this->getProduct();
      ?>
      <div class=”padder-product”>
      <script type=”text/javascript”>
      var optionsPrice = new Product.OptionsPrice(<?php echo $this->getJsonConfig() ?>);
      </script>
      <div id=”messages_product_view”><?php echo $this->getMessagesBlock()->getGroupedHtml() ?></div>
      <form action=”<?php echo $this->getAddToCartUrl($_product) ?>” method=”post” id=”product_addtocart_form”<?php if($_product->getOptions()): ?> enctype=”multipart/form-data”<?php endif; ?>>
      <div class=”product-img-box”>
      <?php echo $this->getChildHtml(‘media’) ?>
      </div>

      <div class=”product-info-box”>
      <h3 class=”product-name”><?php echo $_helper->productAttribute($_product, $this->htmlEscape($_product->getName()), ‘name’) ?></h3>

      <?php if ($this->canEmailToFriend()): ?>
      helper(‘catalog/product’)->getEmailToFriendUrl($_product) ?>”><?php echo $this->__(‘Email to a Friend’) ?>
      <?php endif; ?>

      <?php echo $this->getReviewsSummaryHtml($_product, false, true)?>

      <fieldset class=”no-display”>
      <input type=”hidden” name=”product” value=”<?php echo $_product->getId() ?>” />
      <input type=”hidden” name=”related_product” id=”related-products-field” value=”" />
      </fieldset>
      <?php echo $this->getChildHtml(‘alert_urls’) ?>
      <?php echo $this->getChildHtml(‘product_type_data’) ?>
      <?php echo $this->getChildHtml(‘tierprices’) ?>

      <?php if (!$this->hasOptions()):?>
      <div class=”add-to-boxes”>
      <?php if($_product->isSaleable()): ?>
      <?php echo $this->getChildHtml(‘addtocart’) ?>
      <?php endif; ?>
      <?php echo $this->getChildHtml(‘addto’) ?>
      </div>
      <?php else:?>
      <?php echo $this->getChildHtml(‘addto’) ?>
      <?php endif; ?>

      <?php if ($_product->getShortDescription()):?>
      <h4 class=”border-head”><?php echo $this->__(‘Quick Overview’) ?></h4>
      <div class=”short-description”><?php echo $_helper->productAttribute($_product, nl2br($_product->getShortDescription()), ‘short_description’) ?></div>
      <?php endif;?>

      <?php echo $this->getChildHtml(‘other’);?>

      <?php if ($_product->isSaleable() && $this->hasOptions()):?>
      <?php echo $this->getChildChildHtml(‘container1′, ”, true, true) ?>
      <?php endif; ?>
      </div>
      <div class=”clear”></div>
      <?php if ($_product->isSaleable() && $this->hasOptions()):?>
      <?php echo $this->getChildChildHtml(‘container2′, ”, true, true) ?>
      <?php endif; ?>
      </form>
      <script type=”text/javascript”>
      var productAddToCartForm = new VarienForm(‘product_addtocart_form’);
      productAddToCartForm.submit = function() {
      if(this.validator.validate()) {
      this.form.submit();
      }
      }.bind(productAddToCartForm);
      </script>
      <div class=”product-collateral”>
      <?php foreach ($this->getChildGroup(‘detailed_info’, ‘getChildHtml’) as $alias => $html):?>
      <div class=”box-collateral <?php echo “box-{$alias}”?>”>
      <?php if ($title = $this->getChildData($alias, ‘title’)):?>
      <h2><?php echo $this->escapeHtml($title); ?></h2>
      <?php endif;?>
      <?php echo $html; ?>
      </div>
      <?php endforeach;?>
      <?php echo $this->getChildHtml(‘upsell_products’) ?>
      <?php echo $this->getChildHtml(‘product_additional_data’) ?>
      </div>
      </div>

      <?php echo $this->getChildHtml(‘info_tabs’) ?></div>

      #6531

      Anonymous

      Hello,

      We just installed the same theme on another website… selectbatteries.com, and get the exact same error. Here is one landing page, where you can see a product. Just click it and you will see the problem:

      http://www.selectbatteries.com/index.php/dell.html?

      Any help in this regard will be highly appreciated. Thanks and have a nice day.

      Regards,
      Prem

      #6532

      Anonymous

      Replace with this and let me know.

    Viewing 8 posts - 1 through 8 (of 8 total)
    Reply To: Product details page problem
    Your information:





    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code class="" title="" data-url=""> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre class="" title="" data-url=""> <span class="" title="" data-url="">