+ Almost all quality improvement comes via simplification of design, manufacturing... layout, processes, and procedures.

July 24, 2008, 11:57 am

Cubecart Auto Complete - Live Search Mod

July 13, 2008

I developed another mod which allows you to have a live search or autocomplete on your cubecart page. This mod puts autocomplete into cubecart search, basicly when you search for an item a list of all items will show up below the search box matching what the user typed in. The items are store items built from your database.

autcomplete.jpg

A Demo of the mod can be found here Just search for an item

 To purchase this mod please click the paypal button below. Processing may take between 2-24 hours. Thank you

Single Domain
  

Multi  Domain
  

Posted by Anthony LeBoeuf under Cubecart | Comments (0)

Cubecart catalog pdf mod

May 2, 2008

I developed a mod which converts your whole shopping cart into a PDF file. The mod handles the following within the PDF

  • Home Page Content
  • Site Docs (1 per page)
  • Products sorted by name

A Demo of the mod can be found here Just click “Download Catalog”

This mod requires php5 but there is a php4 version in development. The mod also requires the php extention domxml to function properly. To purchase this mod please click the paypal button below. Processing may take between 2-24 hours. Thank you


Posted by Anthony LeBoeuf under Cubecart | Comments (2)

New Website Woosta Pizza

March 30, 2008

Launched a new website, this one is for Woosta Pizza located in the hear of Worcester Massachusetts. The client has a basic static website with an online menu system they can update through an administration panel. To view this website click the link below

http://www.woostapizza.com

Posted by Anthony LeBoeuf under Portfolio | Comments (0)

php 5 and imagecreatefromjpeg() recoverable error: Premature end of JPEG file

March 17, 2008

Ok I recently came up with a problem creating thumbnails for a project I am working on. I was stumped for hours, it seems that some files that were saved from a mac or certain photo editing programs would cause php to not recognize it a jpg thus giving the error:  

imagecreatefromjpeg() : gd-jpeg, libjpeg: recoverable error: Premature end of JPEG

After researching this problem I realized it was a problem with php 5 and gd2. Heres how to fix it

  • php 4 : No action neccesarry it should work fine
  • php 5.0 - 5.1.2 = Upgrade to the latest php 5
  • php 5.1.3 - current = Declare this variable in your file before calling imagecreatefromjpeg()   

ini_set(’gd.jpeg_ignore_warning’, 1);

Doing that will cause gd2,php to ignore the error and continue where it use to just fail and do nothing.

Posted by Anthony LeBoeuf under PHP | Comments (6)

Cubecart google sitemap - SEO MOD Friendly

January 5, 2008

I recently added on to the google sitemap mod I made awhile back, It is now SEO mod friendly. I tested this with the latest version of cubecart and latest version of SEO mod. May need to tweak it out for other versions of SEO mod.

Google sitemap mod

Posted by Anthony LeBoeuf under Cubecart | Comments (5)

show div on check for checkbox

December 11, 2007

Sometimes you need to show a div when you click a checkbox, here is how yo do it. You need jquery to establish this.

Code (html)
  1. Check me
  2. <input name="checkbox" type="checkbox" onclick="$(this).is(’:checked’) && $(’#checked’).slideDown(’slow’) || $(’#checked’).slideUp(’slow’);" />
  3. <p style="display: none; margin: 10px; height: 100px; background-color: #f5f5f5; padding: 10px" id="checked"> </p>
  4. Put some content here

Basicly the paragraph container named checked is hidden untill one presses the checkbox.

Click here for a demo

Posted by Anthony LeBoeuf under snippets, jquery | Comments (3)

New Website modernvikingkegsupply.com

November 15, 2007

I Launched a new website http://modernvikingkegsupply.com/, Modern viking beer supply website is for sale. The client I made a deal with has fell through on his payment so I am putting the web site up for sale. This website is powered by the Cubecart back-end. It comes with PSD Files, full scripts and templates. The website has some products entered in, kegging equipment, co2 tanks, keg beer regulators, keg stout towers and much more.

 To preview the Modern Viking Keg Supply website click here http://modernvikingkegsupply.com/. I can even package in template modifications to fit your store’s website. You do not get the domain name.

Posted by Anthony LeBoeuf under Uncategorized | Comments (0)

Cubecart custom category order

August 5, 2007

So I developed another new mod for cubecart, this one allows you to sort out your categories in cubecart the way you want without staying with the normal sort by name or id as seen in other mods. This mod only modifies 3 files and installs one column “pos” to your database to do the ordering. Remember to back up your database and files before attempting any modification on your original files. To download this file click on the link below.

Custom category ordering 1.0

custom_category_order_1.3 (updated for manual ordering)

Posted by Anthony LeBoeuf under Cubecart, PHP | Comments (7)

Cubecart multiple delete and re categorize admin hack

July 15, 2007

I am developing a new shopping cart using the cubecart system, the client has about 2500 parts in the database. After importing these products into the database I noticed that a good 500 were mis categorized and about 100 were out of date and had to be removed. Cubecart didnt have any support for multi re-categorize or multiple deletes so I created the following hack. This hack will allow you to check off all the products on the product view page and do 2 different things. Either delete the selected products or move the selected products to a different category. To enable this hack in your cubecart admin panel paste the code in the following areas .

Due to people not being able to copy the code correctly I have pasted it in a text file which can be viewed here
install_multi_delete_recat.txt

You can also download my own index.php with the mod already installed, this will work perfect for you if you havent already modded your admin/products/index.php. Download that file here: install_multi_delete_recat-2.zip

Posted by Anthony LeBoeuf under Cubecart, mysql, PHP | Comments (0)

mysql update from another table

July 3, 2007

Recently I needed to update a bunch of rows in mysql with information from another table. I will explain how to do this simple process.

  1. Open up phpmyadmin or similar database editor
  2. view the sql query below
Code (sql)
  1.  
  2. UPDATE updatefrom p, updateto pp
  3. SET pp.last_name = p.last_name
  4. WHERE pp.visid = p.id

Lets say we have 2 tables one named main and one named updateto and one named updatefrom, In the first line we assign variables to these t tables (p and pp) from there we can call column names using this format table.columname. If we had first_name and last_name in both tables and wanted to update the “updateto” table with the info from “updatefrom” this is how you would write it.

Posted by Anthony LeBoeuf under mysql, Web Technology, PHP | Comments (1)

Next Page »