Archive for March, 2014

Email Scam – domainservicesonline.org

Monday, March 31st, 2014

Apparently, domainservicesonline.org uses a crawler or a bot, to look for new domains, it then emails the technical contact to tell them they need to “Register my site” to get added to google, yahoo and bing.

Well guess what, it’s spam if you receive an email from registration@urlshort.org or something from sendgrid.me or anything from domainservicesonline.org they are trying to get your information.

They are not a site submission company, they are a spam company collecting data.

Found a new Vapor Store in Garden City MI

Thursday, March 27th, 2014

Ok,. so I’ve been using ecigs for a while, over two years, long enough that typically I’ve been forced to buy all my stuff online. Recently, this has changed.

I’ve been looking in to Michigan Vapor Stores, and came across Garden City Vapes a very nice website for The Vape Select in Garden City.

Atomizers, cartomizers, ecig batteries, e-liquids even parts and pieces for rebuildable atomizers including wick wire and coil wire.

ECig Forum, E-Cigarette Discussion Forum

Tuesday, March 18th, 2014

I’d been looking for a foum for e-cigarettes that didn’t annoy me, and I found ElectronicECigForum.com it is great, small but filling up with really interesting information. Take a look if you get a chance.

I’ve been adding stuff, and found a few codes for retailmenot suppliers.

WordPress Contact Form 7 Howto Hide Empty Fields

Friday, March 7th, 2014

Ok., so this took some serious work, but I’ve helped a client on Wizpert hide the empty boxes that were leftover by the form submission using contact-form-7 and the contact-form-7-multipart-module.

What we’ve done is added a function to the scripts.js file of the plugin,

//added a page detection feature so it’s only hiding fields on the completion page.
if( window.location.href.indexOf(“thank-you”) >= 0 ){
// this adds class to p that have no value
$(‘.wpcf7-form p’).each(function(){
var thisText = $(this).text();
if( thisText.indexOf(“:”) >= 0 ){
thisText = thisText.split(“:”);
var thisP = $(this);
if( thisText[1] == ” || thisText[1] == ‘ ‘ ){
$(this).addClass(“hiddenP”);
}
}
});
}
// filter out headings with no p elements below them
$(‘.hiddenP’).css(“display”,”none”);

Thats it,. using pure js

Magento Add Handling Fee for International Shipping

Thursday, March 6th, 2014

Well today’s fun project was adding a handling charge to magento when a customer is ordering from outside the US,.

Update the following…
/app/code/core/Mage/Shipping/Model/Carrier/Abstract.php

1) Add a public variable that you can update

public $countryId = ‘US’;

2) Locate the following function public function checkAvailableShipCountries
add
$this->countrId = $request->getDestCountryId();

3) Locate the function getMethodPrice(
add

if( $this->countryId() != ‘US’ ){
$price += (handling fee);
}

4) All done save and enjoy

Can I build a Yahoo Japan Auction Portal in English

Wednesday, March 5th, 2014

I’m thinking of using the google translate library along with the yahoo japan auction api to build an english platform for their auction system. It will need true shipping integration with information on export from Japan and import in to the US.

ECig Video

Wednesday, March 5th, 2014

I’ve been thinking of making some e-cig videos to show the vapor quality, and possibly the disassembly. This will be in partnership with http://www.DiggECig.com/ as we explore the quality, reliabilty and taste of different disposable ecigs. Videos coming soon.

Magento Shipping Quotes Not Working?

Wednesday, March 5th, 2014

Today, I was presented with an issue and it took a little digging to get to the bottom of the solution, so I figured I would post it here.

I’ve been working with a company that makes their products in the US but sells internationally, and we have been having some success. Recently, several customers emailed to inform us that our checkout system was telling them “No Shipping Methods Available”. well this simply will not do.

So, my first steps were to recreate the order, with the customers address entered, and press get quote, it returns nothing. Next I google to see why it’s happening or common solutions.

At this point, I’ve found a few programming changes, that upon reading I see will not work, and I have another thought. What if the UPS methods I’m offering only go to some countries.

Solution:: in your shipping settings enable all the international shipping methods, then run the quote again to see which display. If you get shipping quotes, you know it was a matter of services not being offered in their area, and you can simply correct it. If you don’t have quotes dig further.