We’re rolling out the features here slowly but surely. As always, we appreciate everyone’s support and patience. One major gap in our plugin suite was the lack of an actual shopping cart to add products to. I’m happy to release an implementation of just that. (Next up is the PayPal checkout but first things first.)
This plugin is fairly simple and only contains two tags that need to be implemented.
This tag displays the “Add to cart” button for your product along with the functionality to actually add something to your cart.
Attributes
Example
<txp:tc_shopping_cart_add
redirect_section="cart" add_message="Add to Cart!"/>
This tag displays the shopping cart detail.
Attributes
Example
<txp:tc_shopping_cart_add checkout_section="checkout" />
Here’s some examples of how you might implement the plugin.
Create an article form to display your product:
product detail form
<h4><txp:title /></h4>
<h5><txp:tc_price /></h5>
<txp:tc_product_image_1 />
<txp:body />
<txp:tc_shopping_cart_add redirect_section="cart" add_message="Add to Cart!"/>
Be sure that you create a section to display your shopping cart detail table. In this example we’ve called the section “cart”. On the cart page we’ve put the following tag:
cart page html
<div id="content">
<txp:tc_shopping_cart_detail />
</div>
That’s an example of how you can simply implement this plugin.
We tried to keep our HTML markup very semantic with the shopping cart so be prepared to apply some CSS rules for everything to look good.
Otherwise let me know if you run across any bugs and have fun. Next up PayPal.
— Levi Nunnink
Ads help support TextCommerce
Comment [21]
Hello everyone. I managed to fix a few of the bugs in alpha 0.2 which brings us alpha 0.3. I fixed the metric/imperial bug. Also the categories “vendors” and “products” are now created upon installation! Not a huge release but I hear our next step is to integrate the shopping cart plugin as well as a checkout feature. That will be nice when it’s done. Enjoy.
— JR Chew
Ads help support TextCommerce
Comment [13]
So it’s been a couple of weeks since the latest release and we’ve got some bugs to deal with. The next release is in the works and will address the following bugs:
Bugs
These are fairly simple and should be out sometime next week. Stay tuned. If anyone has come across any other bugs please post them in the comments.
Also, we’ve got quite a few feature enchancement requests. I’m going to address these in another post soon.
Thanks!
— Levi Nunnink
Ads help support TextCommerce
Comment [3]
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 [14]
Ok guys, an apology is in order. We hate to keep stringing you along, but next release is coming. We have just been super busy at Culturezoo. We don’t want any riots though so we’re going to make a special effort to get it out soon. Once again thanks for your patience.
— JR Chew
Ads help support TextCommerce
Comment [8]
Hey everyone,
I know you are all dying for us to release the next version of TextCommerce but you will have to wait a little bit longer with good reason. Thanks to Levi, the next release will have a built in shopping cart! We’re expecting to release the next version of TC sometime next week.
On the technical side, I split up the plugin into 6 main core files which eliminates the database size error. After beta testing, we decided it was really time to upgrade to jQuery. Once the upgrade is complete and all the bugs are worked out we will release it.
Thanks for being patient, as we are very busy at Culturezoo.
— JR Chew
Ads help support TextCommerce
Comment [6]
In the next release of TextCommerce we are adding an all in one install script that will eliminate the need for you to download a modded version of TextPattern. Also, there should not be any plugin size errors in the next release, as we’re splitting up the plugin into a few different files which will not be so large. We’re also going to be breaking away from the Prototype JavaScript library. Instead we will be using the more favored jQuery. These updates should eliminate a lot of the bugs you have been running into. Thanks for your patience everyone.
— JR Chew
Ads help support TextCommerce
Comment [5]
Hello everyone, My name is JR Chew and I am a new developer for Levi’s company Culturezoo. I’m going to be helping out with TextCommerce a little bit.
Recently, we have set up a repository on Google Code, which you can check out right here. It includes a trunk section which will hold our current stable versions of TextCommerce, a development section for development, and a Whiteboard section that will allow you to download all of the experimental stuff created before it goes into the initial release of TextCommerce. Thats all for now.
— JR Chew
Ads help support TextCommerce
Comment [4]
First off allow me to apologize for the lack of updates. For the last month my company has been completely overloaded with work. Combined with that and emergency server migrations of other projects, TextCommerce development has suffered.
The good news is, we’re currently interviewing candidates for web developers and expect to make a hire within the next few weeks. If all goes according to plan we may have a number of developers working on TextCommerce in their spare time instead of only me.
As it stands, I plan to make a bug fix release in the next few weeks that will address all the feedback I’ve recieved. Thank you everyone for your patience! Such is the world of open-source.
— Levi Nunnink
Ads help support TextCommerce
Comment [3]
You asked for it, so here’s a small collection of tags to display data so far. It’s going to be growing but I wanted to get this out asap.
<txp:tc_price /> This tag displays the product price. It defaults to whatever the store currency is set to or, if no store currency has been set, USD.
Attributes
<txp:tc_weight /> This tag displays the product weight along with the proper weight units. It defaults to whatever the store weight units are set to. “Imperial” and “Metric” are the only two options.
Attributes
<txp:tc_sku /> This tag displays the product sku number. No attributes.
<txp:tc_stock /> This tag displays how many items remain in stock. No attributes.
<txp:tc_vendor /> This tag displays the product vendor name. No attributes.
<txp:tc_product_image_1 /> This tag create an <img> tag of the first product image.
Attributes
<img> tag. Not required.<img> tag. Defaults to product name. Not required. <txp:tc_product_image_2 /> Same as <txp:tc_product_image_1 /> .
<txp:tc_product_image_3 /> Same as <txp:tc_product_image_1 /> .
<txp:tc_product_image_4 /> Same as <txp:tc_product_image_1 /> .
Have fun. Let me know if you come across any bugs.
Download: tc_product_display.0.1
— Levi Nunnink
Ads help support TextCommerce
Comment [2]
Browse our Subversion Repository.
Most shopping carts seem to be developed with standards-compliance, a good templating framework and accessibility as an afterthought.But in our minds it’s number one. What good is a peice of software that forces you to build an ugly end-result. By using TextPattern’s wonderful templating framework - you’ll be freed to design any store you can imagine.
TextCommerce/TextPattern is completely written in PHP and uses MySQL as it’s database. It should be hard to find a host that won’t support it.
Most shopping carts try to offer a one-size-fits-all to try and accommodate every possible need - the end result is a bloated mess. But by using the powerful plugin framework built into TextPattern, you can turn on the features you want with the click of a button and never worry about the ones you don’t. The end result is a shopping cart, tailored to your exact requirements.
TextCommerce and its plugins are all licensed under the GPL. This gives you complete freedom to do what you want with your store. No strings attached.
TextCommerce is an extension of the powerful TextPattern CMS. The ability to create blogs, manage static pages, file uploads is built-in. With TextCommerce you can easily manage your store and your website. The TextCommerce download contains all of TextPattern’s features.
If by some chance we don’t have a feature available we can build it or you can use the API to build it yourself.