News:

Looking for documentation? Take a look on our wiki

Main Menu

Possible Bug for Product details page

Started by wernejo, March 19, 2013, 04:55:57 AM

Previous topic - Next topic

wernejo

hi everyone.

I hope this is the right place to post this but i believe I've come across a bug after updating from 2.0.20a to 2.0.20b yesterday.

even though i am using a custom template for my website i still believe that this bug is relevant to the VM community.

after installing the update onto the website I'm building i have been having issues viewing products that have more than one image. whenever I add a second photo to a product and then try to view the product on the front end of the website none of the body or head tags are loaded. the only thing that i am shown when clicking onto the product is the product title, the primary photo, the back to category link, and the email to a friend button.

none of the css is loaded nor is any other part of the website. i am getting a black screen with a h1 title and a photo

here is a copy of the code that is loading up whenever i load up a page that is meant to have more than one photo.
<html>
<head></head>
<body>
<div class="productdetails-view productdetails">
<div class="back-to-category">
<a class="product-details" title="Skis" href="/index.php/pro-shop/skis">Back to: Skis</a>
</div>
<h1>HO COEFFICIENT SL ski</h1>
<a href="http://waterskiproshop.com.au/index.php?option=com_virtuemart&tmpl=component&view=product&task=edit&virtuemart_product_id=43" title="Edit this product">
<img alt="Edit this product" src="/media/system/images/edit.png">
</a>
<div class="icons">
<a class="modal" href="/index.php/pro-shop/skis/ho-coefficient-sl-ski-detail/recommend?tmpl=component" title="Email" rel="{handler: 'iframe', size: {x: 700, y: 550}}">
<img alt="Email" src="/media/system/images/emailButton.png">
</a>
<div class="clear"></div>
</div>
<div>
<div class="width60 floatleft">
<script src="/templates/theme1055/lightbox/js/jquery-1.7.2.min.js">
<script src="/templates/theme1055/lightbox/js/lightbox.js">
<link rel="stylesheet" href="/templates/theme1055/lightbox/css/lightbox.css">
<div class="main-image">
<a href="http://waterskiproshop.com.au/images/stories/virtuemart/product/ho-coefficient-sl-ski.jpg" rel="lightbox">
<img alt="" src="/images/stories/virtuemart/product/ho-coefficient-sl-ski.jpg">
</a>
<div class="clear"></div>
</div>
<div class="additional-images">
</div>
</div>
</div>
<div id="lightboxOverlay" style="display: none;"></div>
<div id="lightbox" style="display: none;">
<div class="lb-outerContainer">
<div class="lb-dataContainer">
</div>
</body>
</html>


just a quick side note; i have added in my own lightbox plugin code because the default lightbox wont work with my custom template. i have tried the removing all of the code i've added but noting changes. i have also tried changing the template to the default Joomla templates and still no change.

the lightbox files are located in the template directory and work amazingly well with VM (even on websites with a custom template or framework)

just a few notes about the website: i'm running the latest version of Joomla (2.5.9), grantry (4.1.8 ), k2 (2.6.5), and Jce (2.3.2.1)

everything was working fine until i did the update yesterday. the only things i have changed in VM is the css. everything else is how it should be.