support wpStoreCart 3.x+