Jump to content

One damn problem after another!


Guest Manic056

Recommended Posts

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Guest Manic056

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.

Link to comment
Share on other sites

  • 2 weeks later...
Guest Brivtech

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.

Link to comment
Share on other sites

Guest Manic056

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? :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...