cpres


Member since 09/30/2010

Name: C- Pres

Location: Seattle, WA

10 snippets

3369 profile views

0 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

cpres's Recent Snippets



« Prev 1 Next »
Formats a 10-digit phone number into a good format (123) 555-1234
0 1443 posted 12 years ago by cpres
Adding HTML into custom blocks rather than hard coding makes it so people don't bother us devs to change sheite!
1 920 posted 12 years ago by cpres
Annoyed by Please enter a valid phone number. For example (123) 456-7890 or 123-456-7890. in admin? Here's the trick. Copy over your default/default/template/customer/tab/addresses.phtml to your default/your-template/template/customer/tab/address.ph...
1 830 posted 12 years ago by cpres
Debugging a quote in magento, get all it's data.
1 867 posted 12 years ago by cpres
run this as administrator from cmd.exe
0 712 posted 12 years ago by cpres
Working on an ecommerce site I found out from our Japanese distrubutors that they don't have a decimal for the currency since yen doesn't deal in change. 1 yen is a fraction of a cent anyway! This code looks for the Yen since within a <span></span...
0 748 posted 13 years ago by cpres
This was for a "Sport Landing Page" where people can select their outfits. There is intial intro box that gets cleared on the first selection. The thumbnails popout on hover. And there is a clear function that takes out all the products selected to j...
0 874 posted 13 years ago by cpres
Initializing a popup
1 748 posted 13 years ago by cpres
In case you need to create your own listing of the last # of trailing months of Archived Wordpress Articles. This one is being used to pull the info onto a Magento page.
0 803 posted 13 years ago by cpres
add this to functions.php and you won't have to mess with the index page.
0 860 posted 13 years ago by cpres
« Prev 1 Next »