Sep 14

Alpha 2 Release

So we’ve finally managed to get another release out the door. This is much later than we intended. Yes we suck. Apologies all around and a hearty thank you! to everyone for their patience.

This one is mostly bug fixes and stabilizing the plugin for general consumption but there are some significant updates in here.

Updates:

How to Install

Copy and paste the plugin code into the plugin field under Admin > Plugins. To avoid errors install tc_core_library.php first, followed by the rest of the plugins.

Plugin Descriptions

tc_core_library:

Holds all of the main functions for TextCommerce including the setup script which constructs the MySQL databases. It’s preferred that you install this first as to avoid any database problems.

tc_core_customers_library

Holds all of the functions for the customers tab.

tc_core_orders_library

Holds all of the functions for the orders tab

tc_core_products_library

Holds all of the functions for the product and products tabs

tc_core_settings_library

Holds all of the functions for the settings tab

Thanks

I’d specifically like to thank Gerhard Lazu and Anton Andreasson for all their help and support. Without Geri’s TextPattern knowhow, we’d still have to download a modded version. He’s truly a gentleman and a TextPattern whiz. Additionally Anton took the initiative to whip up some seriously awesome JQuery code when he heard we had the need. This release is mostly due to both of them. Thanks guys!

Please post bugs in the comments or email them to levi (at) culturezoo (dot) com.

Up next:

I’ve nearly got a shopping cart plugin completed. That plugin will be integrated w/ PayPal.

— Levi Nunnink

Ads help support TextCommerce

Comment

  1. another Yeahhh!

    Stef · Sep 15, 01:14 AM · #

  2. Hi all!

    I must truly thank you for your great work – not just for the TextCommerce but also for your rest of your projects!!

    I lack to get the news of this plugin’s creation from the early days (actually just of two days I learned about it!).

    I am currently testing it in a Textpattern web-site 4.0.5. The code initially was confused as I have a table perfix…so I change manually the prefix of the newly created tables. However, I am getting the following error:

    Parse error: syntax error, unexpected $end in /home/fhlinux183/j/journal[….]uk/user/htdocs/textpattern/lib/txplib_misc.php(534) : eval()‘d code on line 1937
    The above errors were caused by the plugin:tc_core_library

    Any thoughts of how I will resolve it?

    Nikolaos · Sep 15, 04:04 AM · #

  3. Levi, glad I could help! I’m really happy you’ve finally launched the plugin. Funny that both of us launched our humongous plugins the same day : ). Good luck!

    Gerhard · Sep 15, 06:08 AM · #

  4. This is great! It looks really robust… like they thought of everything. Excellent work. I have a couple of small concerns.

    # The Store tab does not show for me. I can get to the store through the drop down menu, though. Now admittedly I am running facelift v2, so I have no one else to blame but myself. But I’d be nice to figure out how to get it to work.

    # I still think that being able to use txp images for products is a must. perhaps a text field alongside for an image number?

    # How about a “state” select? Much more standar d for the user. You could include other, and popup a text field for those living outside the US. Or even better, you could have it draw it’s items from a user editable form. awesome.

    # I assume you’ll be able to control the new customer notification message, which now reads “You have been registered as a contributor to the site xxx”

    # Selecting edit categories takes me to the standard category page. Are there special product categories, if so I don’t see ‘em.

    But Thanks again, what a great piece of work.

    mrdale · Sep 15, 07:22 AM · #

  5. looking fantastic. installed fine (though had an issue at first that i describe later in this post)

    * has anyone been able to add a product? every time i do so, i just end up with a blank white page when i click save? this is after i’ve already entered all my settings in the settings tab.

    * speaking of the settings tab, when one enters in all the info and clicks update, the info doesn’t actually update until you refresh that page (even though it states “updated” in the top left corner).

    * also, are we supposed to enter the tax rate as a whole number or decimal? for example if i want to enter 14% as the tax rate, do i use “0.14” or “14”? im asking because when i use 0.14, it just reverts to using “0”. but “14” is saved correctly.

    * and MrDale, I first had an issue with the ‘store’ tab not showing up either. i ended up uninstalling the plugin, deleting the mysql tables added and reinstalling the plugin. the stores tab showed up this time. the only difference i could remember doing was that i activated the ‘tc_core_library” plugin first before installing the rest of the set. (i installed it first the first time too but didn’t activate it immediately).

    steve · Sep 16, 02:04 AM · #

  6. So good to see something coming of this finally. ;-)

    Some issues:

    * Choosing ‘metric’ on the settings tab still produces imperial settings under the ‘shipping’ setup.

    * Using metric settings, none of the size settings allow for fractions. So .5Kg doesn’t display anything. 1.25Kg produces ‘1Kg’

    * Is adding a customer supposed to add a site user visible on the Admin > users tab? Is there a plan to put customers in a separate table in the db? I’m trying to think how the admin page will look with a few hundred customers registered!

    Otherwise, so far, so good!

    Many thanks to Levi and the team…

    Neil · Sep 16, 02:48 PM · #

  7. an update to my comment above: i tried reinstalling textcommerce on a fresh local version of textpattern 4.0.5 and the product adding now works (although when clicking on save, there doesnt seem to be any indication that the product is added unless you check the ‘products’ tab. would appreciate if there was a default event message like “Product Added” or whatever akin to any other textpattern save/publish action)

    im gonna try and go over my live TXP 4.0.5 installation (with several other plugins installed) with a fine tooth comb to see whats causing it to not add products over there.

    steve · Sep 16, 05:10 PM · #

  8. for some reason i am getting this error on two fresh installs of TXP 4.0.5 (albeit on the same server. running php 5.2 (as cgi) and mysql 5.024a)

    —-
    A problem occured while loading the plugin: tc_core_library -> User_Warning: Unknown column ‘billing_company’ in ‘field list’
    SELECT billing_company FROM `txp_users` on line 84
    —-

    when i check the txp_users table via phpmyadmin i do see a billing_company column though.

    this happens when i install all the plugins (making sure to install tc_core_library first) and then click anywhere else (another tab). the error appears only once and then seems to disappear completely after that though. as far as i can tell, the error doesn’t seem to affect any of the functionality of textcommerce thus far.

    steve · Sep 16, 11:05 PM · #

  9. Steve, as I can understand from you feedback – because I had the same problem with the error – the plugin works only to a single and fresh installation of textpattern??

    Much thank you for your help!!

    Nikolaos · Sep 17, 02:58 AM · #

  10. Wow! Thanks for all the awesome feedback, everyone. We’re looking into these bugs right now.

    One thing to keep in mind that I should’ve mentioned beforehand is that the new versions of the plugin require TXP 4.0.5 or JQuery installed.

    Levi Nunnink · Sep 17, 08:29 AM · #

  11. A few answers to your questions.

    **** I still think that being able to use txp images for products is a must. perhaps a text field alongside for an image

    number?

    Good point, should be easy to add in the future. Our next release will only be a bug release. After that maybe?

    **** How about a “state” select? Much more standar d for the user. You could include other, and popup a text field for those

    living outside the US. Or even better, you could have it draw it’s items from a user editable form. awesome.

    Another good point. it should be in there. It’s just going to take some careful planning before we impliment it.

    **** I assume you’ll be able to control the new customer notification message, which now reads “You have been registered as a

    contributor to the site xxx”

    You can control the new customer notification message by building a new form in the presentation area. After you build this

    form assign it to the store under the settings tab.

    **** Selecting edit categories takes me to the standard category page. Are there special product categories, if so I don’t see

    ‘em.

    Textpattern assumes products and vendors as top level categories. Create these in the default category admin page. If you tell the product page to create a new category it will create a sub-category under the top level category.

    Note: Top level categories “Products” and “Vendors” will be created on install in the next bug release.

    **** speaking of the settings tab, when one enters in all the info and clicks update, the info doesn’t actually update until

    you refresh that page (even though it states “updated” in the top left corner)

    We fixed this. It will be included in the next bug release.

    **** also, are we supposed to enter the tax rate as a whole number or decimal? for example if i want to enter 14% as the tax

    rate, do i use “0.14” or “14”? im asking because when i use 0.14, it just reverts to using “0”. but “14” is saved

    correctly.

    It really doesn’t matter at the moment as there is no checkout/charge system. This will be decided when we build the

    checkout/charge system.

    **** Choosing ‘metric’ on the settings tab still produces imperial settings under the ‘shipping’ setup.

    This has also been fixed and will be included in the next bug release.

    **** Using metric settings, none of the size settings allow for fractions. So .5Kg doesn’t display anything. 1.25Kg produces

    ‘1Kg’

    Good point. I’ll talk to Levi about this soon.

    **** Is adding a customer supposed to add a site user visible on the Admin > users tab? Is there a plan to put customers in a

    separate table in the db? I’m trying to think how the admin page will look with a few hundred customers registered!

    We plan on keeping the table the way it is. If we were to have a seperate table handle the users it would cause problems for any of the other user manipulation plugins that run off the default textpattern db table schema. Catch 22!

    JR Chew · Sep 17, 12:55 PM · #

  12. Congrats to the release! :)

    Just one small bug report from me: The Posted date seems to be resetted when Saving a product (it is correct when first Publishing it though)

    Also I have problems getting images to upload at all, but I can’t tell if it’s just me and my local installation.. Normal image uploads works though, so it’s not the permissions on my images folder (that’s where products images go too, right?)

    cheers,

    /Anton

    Anton Andreasson · Sep 19, 12:12 PM · #

  13. Firs of all you’ve done a great work guys!

    Though I’ve found two issues:
    1. All labels seem to be hard-coded. Would be nice to be able to translate them without editing the plugins directly…

    2. The “store” section is also hard-coded. Would be nice to be able to specify the store section under the settings tab.

    Keep up the good work
    /Jonathan

    Jonathan Hedrén · Sep 20, 10:08 PM · #

  14. looking forward to the paypal shopping cart plugin!

    steve · Oct 5, 04:01 PM · #

Commenting is closed for this article.