Help with Shopify product page

Colin Brazier
Colin Brazier used Ask the Experts™
on
Hi, hopefully there are some Shopify experts out there...

See this page: http://www.fobgfc.org/VCity/VCITY2.html?variant=5193113219

The page was showing fine until I tried to implement swatches, using this tutorial: https://docs.shopify.com/manual/configuration/store-customization/showcasing-products/add-color-swatches-to-your-products

Now all products show as unavailable (crossed out) despite there being stock.  

The swatch.liquid snippet is attached (as a txt file).

I have had no response from the Shopify forums.  I would appreciate any guidance.

Cheers
swatch.liquid.txt
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Marco GasiFreelancer
Top Expert 2010

Commented:
Don't know if related, but in Firebug I see you have an error:
ReferenceError: delta is not defined
delta  *= lineHeight;

in http://cdn.shopify.com/s/files/1/0879/3398/t/2/assets/mousewheel.js?12917369102922345030, line 161, col 16

Open in new window

Author

Commented:
Hi Marco,

Apologies for the delay, I have been away.  I don't think it is related, but thanks anyway.
Hi Colinspurs.

One thing you can do is to try to revert back to the original file settings.

You could redownload your theme and upload the relevent files and "start all over" with your modification.   (Or you could copy and paste over the modified files with the "virgin" files from the theme.

Is that something you want to try.  Then we can go, step by step, through the tutorial.

At least your products would be showing properly in the meantime.

Also it's good practice before and after you make modifications to a theme to click on the button that will email you a copy of the theme as it was before and after modifications were made.  For example I made a major mistake in a css file just this morning -- but was able to restore it to the way it was last night by unzipping the emailed template and extracting the css file from last night's version.

Also, (I should have said this first)  you can revert many of the files back to an earlier version in the editing panel (not css files, unfortunately)
 You'll see the link on the top of most editing screens. It has this link  
theme.liquid Older versions | Liquid variable reference



Rowby
Ensure you’re charging the right price for your IT

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden using our free interactive tool and use it to determine the right price for your IT services. Start calculating Now!

Author

Commented:
Many thanks Rowby.  As you can see from the date this project has been in abeyance for a while, when I get back to it - before too long I hope - I'll follow your suggestions.  I think I might need to "start all over" just to re-train myself, as it's my first Shopify effort.

Col
sure -- you can just set up another 14 day free trial and use it as a training ground.  Shopify is cool about that!

Rowby

Author

Commented:
Thanks, when I get back to this I'll post another question.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial