1

(0 replies, posted in General Zen Cart Chit-Chat)

I just (finally) made http://secretsoftheboudoir.co.uk/ live, which is what I've been working on.  Comments and criticisms welcomed smile

bitcommerce.org is supposed to be a fork of ZC from its 1.2.x days, but progress reports seem hard to come by.  Bit of a shame.

I haven't had a chance to delve into it myself beyond watch some evangelism videos.  My day job is TV-over-the-internet using C# & .NET, so I'm unlikely to ever get a chance to play with it.  It _sounds_ useful, though, when I compare it to the tightly-coupled data-access + presentation code in ZC.  However, ZC's the only exposure I've had to PHP; I wouldn't have thought everything is the same.

No worries; devside.net were new on me, too.  I was actually looking for docs (when I found them) on making my Apache config play well with PHP 5.2.1 - their installer apparently isn't as clever as it otherwise might be.

Now, if only there were a WAMRoR project...  Speaking of which, I'm kinda surprised there aren't any RoR shopping carts by now.  I did have a look while I was picking which cart to use (especially when I saw how ... interlaced ... ZC's PHP is with its HTML), but I only found one, and that was in a fledgling state.  bitcommerce.org looks interesting, too, but doesn't seem to show much development activity.

I wish ZC had a more mainstream approach to source control; public repository and take patch submissions from the audience.  Are there reasons why that's not the practise, do you know?  It kinda feels like a touchy subject back on the ZC forums.

I'm not really looking forward to the merge I'll need to do when 1.4 drops (though I _am_ eagerly anticipating seeing the touted performance improvements!).

My name's Pete; the nick is my old university login, pretty much untaken where-ever I go.

I've been rather busy; apologies for not coming back.  The day-job gets a bit crazy some of the time.

Anyway.  Been doing a little reading.  I definitely don't want to be storing credit card numbers and such-like.  I intend to use ProtX VSP Direct for my payment processor.

To that end, I gather I should, in Modules -> Payment I should UNinstall "credit card", and probably "The Zen Cart FREE CHARGE CARD", and almost certainly "check/money order" (given that my client has mentioned wanting to take cheques - hey, check/cheque, there's another I18n for you ;-)  ).

I have successfully installed Ceon's Protx module, and am just waiting on their account setup.

How do you normally go about testing out the payment processor?  Do you have a standard set of purchases you run through it in sandbox mode, or what?

Does anyone know whether, by hosting a UK-based shop's website with a US-based hosting company, I'll be breaking Data Protection or other UK laws?

Also, how about security?  I'm using a shared-host environment.  I assume/hope that ZC encrypts things like credit card numbers and the like?  In fact, pretty much any customer-personal-data, come to think of that...?

Are there any other considerations I might have to ... consider?  This is actually my first foray into e-commerce.

For a subversion repo, you could register with sourceforge.net and get an instant one.  If you haven't encountered TortoiseSVN (and you're windows-based), then install that too; it's one of the most useful pieces of software I've ever encountered, and it gets put on every machine I touch, let alone use...  It also has very useful documentation.  You could use it to set up a local file:// based svn repo in two clicks and typing a folder name.  Not accessible to the world, obviously, but might be useful for you.

devside.net makes an all-in-one frictionless installer for Windows that sets you up with Apache, MySQL, PHP and a few other things.

Backups - Zen Cart (actually, any database-driven website) consists of the PHP files and the database; for a complete backup, you need to backup both things.  There's a howto on zen-cart.com's tutorials section for how to backup a database using phpMyAdmin (or you could use the MySQL GUI tools from mysql.net - MySQL Administrator, specifically).  To backup the PHP etc, you take a copy of the zen cart directory.

TortoiseSVN is a tool for interfacing with subversion source control repositories.  It's open-source and free, and comes with extensive (and user-friendly!) documentation both on the use of the tool, and the use of source control in general.

It sounds like you are using the WAMP distribution from http://www.devside.net/.  If you are, I would recommend reading about how to set up an apache virtual host for your zen cart local-environment.

Also, you might like to investigate source control.  I only mention that because you say you're a beginner, yet you've successfully set up a development environment that many professionals balk at - you might as well go the one step further.  Given that you're on Windows, all you would need is TortoiseSVN (a free subversion client), then to set up a local file://-based repository (two clicks, with TSVN) for your work.  Then, you can a) backup really easily, and b) not worry about making mistakes, because it'll maintain a history of your changes.

Well, I'll submit patches for some stuff then, if you'd like?  Do you have a subversion repository someplace, or would you like the raw diffs?

Ah, yeah - SEO.  I must hook up SEFU sometime soon...  Not to mention find some way to educate my client that filling in "all that boring text stuff in the admin bits" will probably make her more money...

Have you tried out any of the SEO-related contributions like SEFU, Froogle feed thing, Google sitemap thing?  Are there other good ones?  I found Image Handler 2 the other day, and ****ing hell but that makes images easier to deal with...

Ah, I've seen Easy Populate, and it's on my list of things to get.  Good to know it lives up to its name.

I take it it's for more than just initial imports and things?

If you have a google for "classicx", that's a more XHTML one that I used as the basis for my store so far.  I was tearing my hair out trying to find something that at least gave semantic markup a nod, 'til finding that.  Now, I've customised it to something rather pretty using CSS and a smattering of JavaScript.

However, I don't know where to find pre-built pretty templates, sorry.

Is there a way, or contribution, to edit more than one product as the same operation?

For example, I find myself wanting to change all the tax classes of all my products to UK VAT from "taxable goods", and am having to do it manually.  I'm the lazy sort, and it's painful...

Hi Kev

Thanks; I've merged it in without issue - all hail subversion.  I also battled my way through the SQL a bit at a time (via phpMyAdmin), and that appears to be working fine too.

However, a couple things I noticed:
* I don't think there's a need to add the euro-symbol; I think it comes pre-set in zen cart 1.3.7.  I also think that if you keep it in, you should change it to the HTML entity code ampersand-euro-semicolon rather than the actual symbol itself...?  I don't know, to be honest, whether or where encoding happens in MySQL/phpmyadmin/zen's-own-SQL-thing.
* I think it would be kinder to people like me if you split up the SQL patch into more than one file; one for the layout-box whatsits (that I didn't need to do), and one for the tax/country/zone stuff, and one for the finishing-touches part.  The user can then cherry-pick which stuff they want, which is useful if, like me, they have a store already (well; have done stuff to a store, but not made it live).  Would you like a patch?
* A bit of documentation for post-install, pointing the user at what they might look at in the admin section to reassure themselves the template worked.  I imagine your audience has a lot of non-technicals?  That would probably be a very nice thing for them.  "Oh, go to the tax zones bit in the admin, see UK VAT - oh, yes, there it is!" kinda thing.
* Consider removing (or, documenting _how_ to remove) the pre-existing "taxable goods" tax class.
* Consider writing example SQL to change all the products from the pre-existing "taxable goods" class to the "UK VAT" class - something I'm now doing by hand (I don't know the MySQL dialect; my background is Microsoft products hmm ).

Anyhow - I seem to be ok.  Thanks _very_ much for your package!  I'll come back and share a link to my site when it goes live (I hate showing people preliminary stuff), if you'd like a look.

Cheers
Pete

Hi there

Reading the readme, it says in dark foreboding tones that the template needs to be installed before actually creating the shop.

Has anyone successfully applied the template to an existing shop?  (Actually, to be honest, the shop I'm working on isn't live yet; I suppose I could back up the config and products data, but I'm hoping to sidestep the pain of reading the SQL insert dump).  If so, could you please share your experience?  I'm using ZC 1.3.7, and fairly customised (as well as just a template).

How much pain might be involved?  I gather (I haven't read much past the readme yet, beyond giggling in glee at the work this might save me in future) it's not just php files changing (I'm not worried about those; I keep my instances of ZC in subversion source control and can use diff/merge tools), but there are SQL data inserts to perform as well.  Given that I've already messed with the tax zones and a couple of other things, do learned people here suspect I'll be alright if I delete my own changes and then cherry-pick the stuff in the template?

Thanks for making this, and releasing it, by the way!  There's a bit I read somewhere about getting in touch if I'm a UK developer using ZC - I guess I qualify.

Ta in advance
Pete