Netsville Support Forums
Welcome, Guest
Please Login or Register.    Lost Password?
Go to bottom Post Reply Favoured: 0
TOPIC: Missing SKUID
#20
Kathryn (Visitor)
Click here to see the profile of this user
Birthdate:
Missing SKUID 2 Years, 5 Months ago  
I deleted some retired products from my products.txt. On the start page, these deleted products show up as "Purchase Missing SKUID XXXXX for 0."


What am I doing wrong? Do I need to edit another file?

Thanks,
Kathryn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#21
devonit (Admin)
Admin
Posts: 16
graph
User Online Now Click here to see the profile of this user
Gender: Male Location: Rochester, NY Birthdate: 1979-11-06
Re:Missing SKUID 2 Years, 5 Months ago Karma: 1  
Kathryn,
Micah outlined this in his email reply, but I'll summarize the gist here for the community:

The SKUIDs are hardcoded and when that is the case you have to track down and manually remove those hardcoded entries from the pages. Then the Missing SKUID error should go away.
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#22
Kathryn (Visitor)
Click here to see the profile of this user
Birthdate:
Re:Missing SKUID 2 Years, 5 Months ago  
Thanks--yes I found the hard code in the start.html. Micah told me there is another (later?) version of the code that automatically picks up only what is in the products.txt file, but I'm OK with staying with the current code that I have.

Thanks for your prompt response.
Kathryn
 
Report to moderator   Logged Logged  
  The administrator has disabled public write access.
#26
Roger (User)
Fresh Boarder
Posts: 1
graphgraph
User Offline Click here to see the profile of this user
Re:Missing SKUID 2 Years, 5 Months ago Karma: 0  
Kathryn -- I'd really, really, strongly advise avoiding hard-coding product SKUIDs -- or any information that can be stored in products.txt. You're losing about half the power of Hazel by doing it that way. The whole idea is to leave the code alone and just worry about updating the products file. If, as you go along, you have two or three or ten or twenty pages to show your products, and you hard-coded those pages -- you'd have to update ALL of them every time a new product came in, or an old product went out.

See http://hazel.netsville.com/docs/loops.html for information on using loops to scoop up this information.

Roger
http://www.foxacre.com
http://hazelbook.com
 
Report to moderator   Logged Logged  
 
Last Edit: 2008/04/04 17:30 By Roger.
  The administrator has disabled public write access.
Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop
Designed by mojotown.com
72 Cascade Drive - Rochester, New York 14614 - Ph. 585-232-5670 & 888-NETSVILLE