Changing wording on out of stock items

General ShopSite user discussion

Changing wording on out of stock items

Postby Paula » Fri Nov 08, 2013 2:32 am

On my More Info page, when an item is out of stock it currently says "Item on backorder". I tried to change this to different wording by going to Inventory Tracking, then checking the "Out of stock" box under the More Info Page section; but it doesn't seem to work. Do you have instructions on how to do this?

Thanks,
Paula
 
Posts: 273
Joined: Tue Mar 20, 2012 5:35 pm

Re: Changing wording on out of stock items

Postby Jim » Fri Nov 08, 2013 10:14 am

That doesn't look like text that would be default for ShopSite, since there is no backorder feature in ShopSite.

What template are you using for the product? None of the default templates include text like that but it could be something added to a custom template. It is also possible that some text string from the Preferences > Store Text screens or text from one of the extra product fields is being used to to output the message. So check the various text settings and see if the text "Item on backorder" is configured.

If you are using a custom template you should also check the Product template and possibly include files used by the template to see if it is there.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Changing wording on out of stock items

Postby loren_d_c » Fri Nov 08, 2013 11:03 am

Try changing the text in Preferences -> Store Text -> Store Pages, the default is 'This Product is on back order'.

-Loren
loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: Changing wording on out of stock items

Postby Paula » Sat Nov 09, 2013 2:12 am

Jim,

I don't use a custom template - just one provided by Shopsite.
Paula
 
Posts: 273
Joined: Tue Mar 20, 2012 5:35 pm

Re: Changing wording on out of stock items

Postby Paula » Sat Nov 09, 2013 2:16 am

Thanks, Loren. I changed the wording next to "This item is on backorder" and it now works as I'd like this. Question, though: Is there a way to change the default from "This item is on backorder"? Under Preferences there are different options, i.e. "This product is not currently available". What makes it default to "backorder" versus "not available"?
Paula
 
Posts: 273
Joined: Tue Mar 20, 2012 5:35 pm

Re: Changing wording on out of stock items

Postby Jim » Mon Nov 11, 2013 11:43 am

The default text is just what the developer decided to use based on what our template designer requested when adding the text to the template. There are different template tags to use the various text strings, so it depends on which tag is in the template what text will be used.
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah

Re: Changing wording on out of stock items

Postby Paula » Mon Nov 11, 2013 8:08 pm

So, say for instance, I wanted to apply different text strings to different items, would this be possible?

For instance, I may want to add "Sorry, this item is out of stock" to some items or "Sorry, this item is no longer available" to others. How would I accomplish something like this?
Paula
 
Posts: 273
Joined: Tue Mar 20, 2012 5:35 pm

Re: Changing wording on out of stock items

Postby Jim » Mon Nov 11, 2013 9:02 pm

You could do that but it would require using one of the extra product fields and a custom template. You would put some key value in the extra product field and then in your template use something like this to compare the extra product field value to see what it contains and then output the appropriate text string.
Code: Select all
[-- IF PRODUCT.QuantityOnHand "0" --]
# You don't have any product in stock so check if you it might still be available or not. it or say it is no longer available.
     [-- IF PRODUCT.FIELD1 EQ "still available" --]
#  output your  "Sorry, this item is out of stock"  message
     [-- ELSE if PRODUCT.FIELD1 EQ "Not Available" --]
#  output your "Sorry, this item is no longer available"
     [-- ELSE --]
#   output some generic message
     [-- END_IF --]
[-- ELSE --]
# You have some product in stock so output the necessary info to add the product to the cart.
#    output a quantity input field, orderoption, add to cart button etc.
[-- END_IF --]
Jim
Site Admin
 
Posts: 4953
Joined: Fri Aug 04, 2006 1:42 pm
Location: Utah


Return to User Forum

Who is online

Users browsing this forum: No registered users and 94 guests