Guest Manic056 Posted July 22, 2007 Share Posted July 22, 2007 I've just fixed a code error. (My last thread.) Took ages! Now, I've found another bloody problem! Check this out: http://www.manicglow.com/index.php Bolsius Candle "Sold Out" - It's not! It really isn't! Not in the slightest! Any ideas anyone? Please help. Quote Link to comment Share on other sites More sharing options...
bsmither Posted July 22, 2007 Share Posted July 22, 2007 First, have you told us what the Admin, View Products, EditProduct page for your candle says about the "Stock Level"? Higher than zero? Next, because these are apparently custom "Image Not Available" images, are you sure you put the correct image in the appropriate skins folder? "Temp008/styleImages/nophoto.gif" on the product page, and "Temp008/styleImages/thumb_nophoto.gif" on the front page. Where's the "thumb_zerostock_nophoto.gif" image? You might also be working with a third-party mod because I'm not familiar with CC being able to overlay (or edit) a product picture with a humongous red "Sold Out" banner. By the way, yours is one of the more intriguing skins I've seen. Kudos. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 22, 2007 Share Posted July 22, 2007 Take a look in your templates and see where this line is coming from: <span class='txtOutOfStock' style='margin-left: 5px;'></span> <span class="catPrice ">£0.00</span> The span tag may be triggering your CSS to display the Out of Stock message, and the template may be including that tag regardless of stock level. Quote Link to comment Share on other sites More sharing options...
Guest Manic056 Posted July 22, 2007 Share Posted July 22, 2007 Take a look in your templates and see where this line is coming from: <span class='txtOutOfStock' style='margin-left: 5px;'></span> <span class="catPrice ">£0.00</span> The span tag may be triggering your CSS to display the Out of Stock message, and the template may be including that tag regardless of stock level. Any ideas for a fix? I can send you files to look at if you think you can help. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 23, 2007 Share Posted July 23, 2007 It looks like you've hired someone to create a custom skin for your site. They should fix the issue as it is a skin problem. Quote Link to comment Share on other sites More sharing options...
Guest Manic056 Posted August 6, 2007 Share Posted August 6, 2007 Sorry I've been away guys, any chance of continuing where we left off on trying to get this fixed? Quote Link to comment Share on other sites More sharing options...
Guest Brivtech Posted August 6, 2007 Share Posted August 6, 2007 When you create template files, you also have an equivilent php file that handles the code. It's possible that whoever has designed your skin hasn't taken this into account, so as a result, it's not working the way that it's intended to. In the code example, the class should be dependant on the stock level, so in the code file, you'll need to set this up as a variable depending on the stock, that's then parsed into the skin template. Quote Link to comment Share on other sites More sharing options...
Guest Manic056 Posted August 6, 2007 Share Posted August 6, 2007 When you create template files, you also have an equivilent php file that handles the code. It's possible that whoever has designed your skin hasn't taken this into account, so as a result, it's not working the way that it's intended to. In the code example, the class should be dependant on the stock level, so in the code file, you'll need to set this up as a variable depending on the stock, that's then parsed into the skin template. Ummmm, and how do I do that then? :) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.