使用Shopify API和app gem我创建了一个有效的会话并将其激活,但由于某种原因,我无法将新产品保存到连接的Shopify商店。见下面的代码
// Set the default value of inputType
$scope.inputType = 'password';
// Hide & show password function
$scope.hideShowPassword = function(){
if ($scope.inputType == 'password')
$scope.inputType = 'text';
else
$scope.inputType = 'password';
};