Loading...

OPENCART v2.3 HIDE / REMOVE STEP 4 DELIVERY METHOD IN CHECKOUT

If you are looking for the fix for opencart version 1+, or you want to know the details I didn’t put in here, click the link below to take a quick look before you start. Opencart hide / remove step 4 Delivery Method in checkout ————————————————————————————————————— So, I have a several people asking me about […]

Read more

Add “View all” option in magento 1.8.0 backend in category product for easier position edit

Had problem view all products when numbering the position in magento backend category? Take a look at our quick fix for it now

Read more

Codeigniter add custom youtube link validation rule to your form

Before you start, you will need to have basic codeigniter form validation basic for this post. If you don’t, you may take a look at codeigniter documentation.   STEP 1  Form input Create a text input field named youtube_link <input type=”text” name=”youtube_link” value=””>   STEP 2  Add a callback function After the standard validation, add […]

Read more

Jquery validaton localization error message

I’ve come across several website and forum when I tried to find out how to set up the localization for Jquery Validation. The common answer I get is include the messages file located in src/localization. For example, if I want to show the message in chinese, all I need to do is include the src/localization/messages_zh.js […]

Read more

Cross browser styling placeholder and placeholder fix in IE 8 & IE 9

Style Placeholder in different browser To style placeholder, add the following properties in your css: ::-webkit-input-placeholder { font-size: 20px; } :-moz-placeholder { /* Firefox 18- */ font-size: 20px; } ::-moz-placeholder { /* Firefox 19+ */ font-size: 20px; } :-ms-input-placeholder { font-size: 20px; } You can change the styling based on your need.   OH NO! […]

Read more

Opencart hide / remove step 4 Delivery Method in checkout

Recently I have a case where my client requires me to put the shipping method in options instead of shipping method so they can have different charges for different timing. Here’s how it looks like in the product page: So as a result, I disabled the “Required shipping” for the product. But it ended up […]

Read more

Generate multiple HTML for exactly same layout from excel .CSV with PHP

Previously I have a project where I will need to create a large amount of HTML files from the excel given by my clients. So I thought, maybe it could help others with the same issue. Cut down your working time without having to copy paste the content one by one from the excel. Of […]

Read more

[responsive design] Change number of box per row based on the screen size

How will it looks? Do you ever need to put a different size for the product / item listing but want to have a little more control than just 25% and let them stretch accordingly? Let’s take a look at the example here, I’ve put a couple of different numbers for the column for different […]

Read more

Protect your directory with .htaccess and .htpasswd

.htaccess Have a demo / file that you want to prevent visitor without permission to see it? There are a lot ways to do it, one of it is protect it using apache .htaccess First you need to create a empty .htaccess file, if you already have one in your root folder, just add the […]

Read more

Change menu size on scroll with jQuery scrollTop()

Learn how to change the menu size and transparency when you scroll the page down with jQuery scrollTop() function. Tutorial demo available for download.

Read more