Giter Club home page Giter Club logo

magegoogleshoppingapiv2's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

magegoogleshoppingapiv2's Issues

500 Error

Was just trying up this extension on magento CE v1.9.1 and after install it, was unable to edit any product (showing up a 500 error)

Recoverable Error: Argument 1 passed to Google_Service_ShoppingContent

Recoverable Error: Argument 1 passed to Google_Service_ShoppingContent::__construct() must be an instance of Google_Client, boolean given, called in /app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/TypesController.php on line 23 and defined in lib/Google/Service/ShoppingContent.php on line 51
#0 lib/Google/Service/ShoppingContent.php(51): mageCoreErrorHandler(4096, 'Argument 1 pass...', '/srv/www/htdocs...', 51, Array)
#1 app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/TypesController.php(23): Google_Service_ShoppingContent->__construct(false)
#2 app/code/core/Mage/Core/Controller/Varien/Action.php(407): Zookal_GShoppingV2_Adminhtml_GShoppingV2_TypesController->preDispatch()
#3 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#4 app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#5 app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#6 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#7 index.php(87): Mage::run('', 'store')
#8 {main}

Fatal Error

Hello i have just installed your addon but have the following problem when trying to click on manage attributes

Fatal error: Class 'Google_Service_ShoppingContent' not found in /home/ladiesonlinegolf/public_html/app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/TypesController.php on line 23

Any help would be gratefully received

include(Zookal/GShoppingV2/Model/Attribute/SalePriceEffectiveDateTo.php)

the log is filled with these errors:

ERR (3): Warning: include(Zookal/GShoppingV2/Model/Attribute/SalePriceEffectiveDateTo.php): failed to open stream: No such file or directory

ERR (3): Warning: include(Zookal/GShoppingV2/Model/Attribute/Name.php): failed to open stream: No such file or directory

and tons of other missing files errors

This happened after patching magento with SUPEE-6788 with magento v 1.9.0.1

how can we fix this?

Attribute modification

Hi,
in the usecase I have, the customer is required to merge different attributes into the shopping description like:
$name.$manucaturer => g:description

is this possible with the api? And if yes, where is the corresponding template-file?

Google Shopping default Image & PHP 5.4

Good evening,

First at all, congratulations to make this module compatible with the new Google Shopping Api.
Very useful & hard work.

I just want to warn you about google shopping default image attribute which is not filled by default, I think it will be better to set this attribute check for the first image. When you have many products, it simply impossible to configure this parameter one by one.

Also, I do not understand the use of the shortcut [] to create array, you make your module less accessible.

Thank you for your hard work.

Cheers.

Unkown field name "size"

The size attribute is properly mapped but I'm getting this error (configurable/simple):

2015-08-21T04:40:17+00:00 ERR (3):
exception 'Google_Service_Exception' with message 'Error calling POST https://www.googleapis.com/content/v2/105758713/products: (400) Unknown field name: size' in /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php:110
Stack trace:
#0 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client))
#1 [internal function]: Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request))
#2 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Task/Runner.php(174): call_user_func_array(Array, Array)
#3 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php(46): Google_Task_Runner->run()
#4 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Client.php(590): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#5 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Service/Resource.php(237): Google_Client->execute(Object(Google_Http_Request))
#6 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Service/ShoppingContent.php(1419): Google_Service_Resource->call('insert', Array, 'Google_Service_...')
#7 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/GoogleShopping.php(193): Google_Service_ShoppingContent_Products_Resource->insert('105758713', Object(Google_Service_ShoppingContent_Product))
#8 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/Service/Item.php(26): Zookal_GShoppingV2_Model_GoogleShopping->insertProduct(Object(Google_Service_ShoppingContent_Product), '1')
#9 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/Item.php(100): Zookal_GShoppingV2_Model_Service_Item->insert(Object(Zookal_GShoppingV2_Model_Item))
#10 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/MassOperations.php(80): Zookal_GShoppingV2_Model_Item->insertItem(Object(Mage_Catalog_Model_Product))
#11 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/ItemsController.php(122): Zookal_GShoppingV2_Model_MassOperations->addProducts(Array, '1')
#12 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Zookal_GShoppingV2_Adminhtml_GShoppingV2_ItemsController->massAddAction()
#13 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('massAdd')
#14 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#16 /srv/www/sampledomain.com/public_html/app/Mage.php(692): Mage_Core_Model_App->run(Array)
#17 /srv/www/sampledomain.com/public_html/index.php(93): Mage::run('default', 'store')
#18 {main}

2015-08-21T04:42:13+00:00 ERR (3):
exception 'Google_Service_Exception' with message 'Error calling POST https://www.googleapis.com/content/v2/105758713/products: (400) [size] validation/missing_required for Shopping,ShoppingApi,ShoppingExpress: Missing required attribute: size' in /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php:110
Stack trace:
#0 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php(62): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request), Object(Google_Client))
#1 [internal function]: Google_Http_REST::doExecute(Object(Google_Client), Object(Google_Http_Request))
#2 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Task/Runner.php(174): call_user_func_array(Array, Array)
#3 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Http/REST.php(46): Google_Task_Runner->run()
#4 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Client.php(590): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#5 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Service/Resource.php(237): Google_Client->execute(Object(Google_Http_Request))
#6 /srv/www/sampledomain.com/public_html/vendor/google/apiclient/src/Google/Service/ShoppingContent.php(1419): Google_Service_Resource->call('insert', Array, 'Google_Service_...')
#7 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/GoogleShopping.php(193): Google_Service_ShoppingContent_Products_Resource->insert('105758713', Object(Google_Service_ShoppingContent_Product))
#8 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/Service/Item.php(26): Zookal_GShoppingV2_Model_GoogleShopping->insertProduct(Object(Google_Service_ShoppingContent_Product), '1')
#9 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/Item.php(100): Zookal_GShoppingV2_Model_Service_Item->insert(Object(Zookal_GShoppingV2_Model_Item))
#10 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/Model/MassOperations.php(80): Zookal_GShoppingV2_Model_Item->insertItem(Object(Mage_Catalog_Model_Product))
#11 /srv/www/sampledomain.com/public_html/app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/ItemsController.php(122): Zookal_GShoppingV2_Model_MassOperations->addProducts(Array, '1')
#12 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Zookal_GShoppingV2_Adminhtml_GShoppingV2_ItemsController->massAddAction()
#13 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('massAdd')
#14 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#15 /srv/www/sampledomain.com/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#16 /srv/www/sampledomain.com/public_html/app/Mage.php(692): Mage_Core_Model_App->run(Array)

Warning

Warning: include(Google/Service/ShoppingContent.php): failed to open stream: No such file or directory in /srv/www/htdocs/bellezza.local/public/lib/Varien/Autoload.php on line 94
#0 /srv/www/htdocs/bellezza.local/public/lib/Varien/Autoload.php(94): mageCoreErrorHandler(2, 'include(Google/...', '/srv/www/htdocs...', 94, Array)
#1 /srv/www/htdocs/bellezza.local/public/lib/Varien/Autoload.php(94): Varien_Autoload::autoload()
#2 [internal function]: Varien_Autoload->autoload('Google_Service_...')
#3 /srv/www/htdocs/bellezza.local/public/app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/ItemsController.php(24): spl_autoload_call('Google_Service_...')
#4 /srv/www/htdocs/bellezza.local/public/app/code/core/Mage/Core/Controller/Varien/Action.php(407): Zookal_GShoppingV2_Adminhtml_GShoppingV2_ItemsController->preDispatch()
#5 /srv/www/htdocs/bellezza.local/public/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#6 /srv/www/htdocs/bellezza.local/public/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#7 /srv/www/htdocs/bellezza.local/public/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#8 /srv/www/htdocs/bellezza.local/public/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#9 /srv/www/htdocs/bellezza.local/public/index.php(87): Mage::run('', 'store')
#10 {main}

Manual installation

Already performed the manual uploading git however to access the panel got the error:

Fatal error: Class 'Google_Service_ShoppingContent' not found in line 23, however the file makes reference to another class, I have to climb some new package?

404 Not Found for GoogleShoppingApi

snx for support!

but i have new issue , composer do'n't see GoogleShoppingApi:

Loading composer repositories with package information
Your GitHub credentials are required to fetch private repository metadata ([email protected]:Zookal/GoogleShoppingApi.git)
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+linux-otsr+2015-05-07+1118
to retrieve a token. It will be stored in "/root/.composer/auth.json" for future use by Composer.
Token (hidden):
Token stored successfully.

[Composer\Downloader\TransportException]

The "https://api.github.com/repos/Zookal/GoogleShoppingApi" file could not be downloaded (HTTP/1.1 404 Not Found)

When add product to "Google Content Items" have error

2015-05-14T15:28:15+00:00 ERR (3):
exception 'Google_Service_Exception' with message 'Error calling POST https://www.googleapis.com/content/v2/10456182/products: (400) Invalid value for: No is not a valid value' in /lib/Google/Http/REST.php:79
Stack trace:
#0 lib/Google/Http/REST.php(44): Google_Http_REST::decodeHttpResponse(Object(Google_Http_Request))
#1 lib/Google/Client.php(556): Google_Http_REST::execute(Object(Google_Client), Object(Google_Http_Request))
#2 lib/Google/Service/Resource.php(195): Google_Client->execute(Object(Google_Http_Request))
#3 lib/Google/Service/ShoppingContent.php(1006): Google_Service_Resource->call('insert', Array, 'Google_Service_...')
#4 app/code/community/Zookal/GShoppingV2/Model/GoogleShopping.php(193): Google_Service_ShoppingContent_Products_Resource->insert('10456182', Object(Google_Service_ShoppingContent_Product))
#5 app/code/community/Zookal/GShoppingV2/Model/Service/Item.php(26): Zookal_GShoppingV2_Model_GoogleShopping->insertProduct(Object(Google_Service_ShoppingContent_Product), '1')
#6 app/code/community/Zookal/GShoppingV2/Model/Item.php(100): Zookal_GShoppingV2_Model_Service_Item->insert(Object(Zookal_GShoppingV2_Model_Item))
#7 app/code/community/Zookal/GShoppingV2/Model/MassOperations.php(80): Zookal_GShoppingV2_Model_Item->insertItem(Object(Mage_Catalog_Model_Product))
#8 app/code/community/Zookal/GShoppingV2/controllers/Adminhtml/GShoppingV2/ItemsController.php(122): Zookal_GShoppingV2_Model_MassOperations->addProducts(Array, '1')
#9 app/code/core/Mage/Core/Controller/Varien/Action.php(418): Zookal_GShoppingV2_Adminhtml_GShoppingV2_ItemsController->massAddAction()
#10 app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('massAdd')
#11 app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#12 app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#13 app/Mage.php(684): Mage_Core_Model_App->run(Array)
#14 index.php(87): Mage::run('', 'store')
#15 {main}

and items no't added to "Google Content Items"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.