Show items with 0 cost - Post ID 224111

User 2140875 Photo


Registered User
378 posts

I am working on a site with pet portraits and creating a shopping cart in SCCP. Some of the pet portraits are private collection items and are not for sale. If I enter a price of 0, SCCP will not publish that item.

Is there a way to display item in a category that are not for sale?

Thanks,

Galen
User 187934 Photo


Senior Advisor
20,273 posts

Enter a 0 for inventory and they will show as "Sold out".
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Thanks Eric,

I had thought about that. With the Sold Out, it would appear they were originally for sale which is not the case. But, since I am not a coder, that's probably the best way to do it.

I enabled inventory control and the first time I uploaded everything went smoothly. Now when I try to publish I get the error message in the attached screen capture. Any thoughts on how I might fix that?

Site is: http://2goofydogs.net/trial

Thanks again for all your help!
Attachments:
User 187934 Photo


Senior Advisor
20,273 posts

Try closing SCCP and reopening it then publish. There's another way to get what you want. Do you want the price on there and the sold out hidden?
If you want to still show the price but hide the "Sold Out" for all the products on that page add this to one of the products descriptions or the page.

<style>
.scs_stocksold {visibility:hidden;}
</style>


I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Hi Eric,

Just tried entering the script, but did not work. Went to Your Shop, Custom Markup, then pasted the script in the header section. Published, but Sold Out still appears (after deleting cache). I'm not going to worry about the Sold Out any more unless the customer is concerned about it.

The other thing is that I still get that message. When publishing it gets to the "testing server status" and hangs for a few seconds and then I get the message as seen in the screen shot in my previous post.

Any other thoughts on the error? Should I send message to tech support?

And, while I've got your attention......and believe me I appreciate all the help you give...

The customer is also selling pet greeting cards. She wants to sell individual cards, but also packs of a half dozen. Sort of like a variety pack. In SCCP in the product detail there is the first image and then place holders for 4 additional images. Is there a way to add a fifth image so that I can show what each person would get in the "variety pack" of cards?

Thanks again,
Galen
User 187934 Photo


Senior Advisor
20,273 posts

Try this. I changed my post to a better method.;)
Eric Rohloff wrote:
If you want to still show the price but hide the "Sold Out" for all the products on that page add this to the category description on the page.

<style>
.scs_stocksold {visibility:hidden;}
</style>


I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Sorry, I don't see any difference!
User 187934 Photo


Senior Advisor
20,273 posts

Here's my example.
http://progrower.coffeecup.com/shop/vie … groupid=44
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 2140875 Photo


Registered User
378 posts

Thanks,

That did the trick. And, with that example I was also able to hide the price on the Private Collection page. It worked out perfect!

I've put a support ticket in for the other issue.

Galen
User 187934 Photo


Senior Advisor
20,273 posts

You'll need to add addition code to your actual product pages to hide the price. I placed it on my example.:)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.