Coder Social home page Coder Social logo

module-magento2's People

Contributors

benjamin-volle avatar benoit-apk avatar blmage avatar clement-hollander avatar tuvandev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

module-magento2's Issues

Not able to create a shopping feed account at MARKETING->Shopping Feed->Accounts

In magento2 Admin Panel
When I navigate MARKETING->Shopping Feed->Accounts
and add use name password
then click on Create Account Button

It shows exception.
Could not create the account on Shopping Feed. Please try again later.

image

After debug I notice that
this API is not working anymore

https://connectors.shopping-feed.com/api/magento/register

is there any other API for this module or I'm missing something.

Thank you!

Incompatibility with PHP 8

There is an issue when using the module with PHP 8.1 :

In the file view/adminhtml/ui_component/sfm_account_store_form.xml , the block "ShoppingFeed\Manager\Block\Adminhtml\Feed\Product\Grid\Wrapper" is declared as an argument, without name.

But, in the class \Magento\PricePermissions\Observer\AdminhtmlBlockHtmlBeforeObserver::execute, using "stripos" on null is deprecated since PHP 8.

So, the patch would be replacing :
<argument name="block" xsi:type="object">ShoppingFeed\Manager\Block\Adminhtml\Feed\Product\Grid\Wrapper</argument>
by
<block name="sfm.feed_product.grid.wrapper" class="ShoppingFeed\Manager\Block\Adminhtml\Feed\Product\Grid\Wrapper"/>

in the file view/adminhtml/ui_component/sfm_account_store_form.xml on line 53

Steps to reproduce :

  • install a fresh Magento 2.4.x using PHP 8.1
  • go to admin panel in marketing > shopping feed > accounts
  • select an account

Unable to execute setup:install with shippingfeed module enabled

Good afternoon,

Since we installed shoppingfeed/magento2-manager:0.39.0 we are unable to execute a setup:install on both our local and CI environments.

Instead we get this error message:

SQLSTATE[42S02]: Base table or view not found: 1146 Table 'flag' doesn't exist, query was: SELECT flag.* FROM flag WHERE (flag.flag_code='staging')

The issue seems to be related with the module console commands. By commenting this portion of code, i was able to install the project.

<type name="Magento\Framework\Console\CommandList">
    <arguments>
        <argument name="commands" xsi:type="array">
            <item name="sfm_feed_sync_product_list" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\SyncProductListCommand</item>
            <item name="sfm_feed_force_export_state_refresh" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\ForceExportStateRefreshCommand</item>
            <item name="sfm_feed_force_sections_refresh" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\ForceSectionsRefreshCommand</item>
            <item name="sfm_feed_force_automatic_refresh" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\ForceAutomaticRefreshCommand</item>
            <item name="sfm_feed_refresh" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\RefreshCommand</item>
            <item name="sfm_feed_export" xsi:type="object">ShoppingFeed\Manager\Console\Command\Feed\ExportCommand</item>
            <item name="sfm_orders_fetch_marketplace_orders" xsi:type="object">ShoppingFeed\Manager\Console\Command\Orders\FetchMarketplaceOrdersCommand</item>
            <item name="sfm_orders_import_sales_orders" xsi:type="object">ShoppingFeed\Manager\Console\Command\Orders\ImportSalesOrdersCommand</item>
            <item name="sfm_orders_send_state_updates" xsi:type="object">ShoppingFeed\Manager\Console\Command\Orders\SendStateUpdatesCommand</item>
        </argument>
    </arguments>
</type>

Please find below the informations about our stack.

Magento 2.3.5-p1 Entreprise Edition
shoppingfeed/magento2-manager:0.39.0
php7.3.15

I remain at your disposal.

Best Regards,

R.D

Can't Install this Module

When I am trying to install this module on my Magento setup I am getting an error.

After copying the files to /app/code/ShoppingFeed/Manager/ I executed the following command:
php bin/magento setup:upgrade

It gave me following Error:
PHP Parse error: syntax error, unexpected '?' in \app\code\ShoppingFeed\Manager\Model\Account\Store\Config\AbstractField.php on line 133

I am installing this module on Magento version 2.1.7.

Thanks

Compatibility issue with Magento 2.3

Hello,

Is it possible to solve cmpatibility issue with Magento 2.3?

Issues;

  • Stock export dont work. All products are set to quantity 0 in xml export file.
  • Orders import. Issue with order import process. Exemple: mpossible d'importer la commande place de marché : La commande place de marché ne contient pas d'articles.

Thank you in advance.

orders are not importing

module was successfully installed via composer and API token configured.
Expected behavior :
orders should be automatically imported from shopping-flux dashboard into magento

Current Behavior :
orders are not imported. No manual orders import button found or command.

Thanks

Install Using Composer

Is there any way to install this module using composer? If so then please provide the instructions for the same.

Error during compilation on 1.5.0 with php8.1

Bonjour,

Il y a une erreur lors de la compilation de la toute dernière version du module 1.5.0

err Error during compilation
err setup:di:compile
Compilation was started.
Errors during compilation:
ShoppingFeed\Manager\Block\Adminhtml\Feed\ForceRefreshButton
Incompatible argument type: Required type: int. Actual type: string; File:
/var/www/html/magento2/releases/904/vendor/shoppingfeed/magento2-manager/Block/Adminhtml/Feed/ForceRefreshButton.php

J'utilise php 8.1

Mode de paiement = Shopping Feed Order ?

Bonjour,

Après avoir configuré le Titre du mode de paiement par défaut et Titre du mode de paiement par place de marché, j'ai effectivement le bon nom de moyen de paiement et/ou marketplace sur la facture. En revanche sur l'affichage des factures, dans la colonne "Mode de paiement" j'ai toujours "Shopping Feed Order" qui s'affiche.

Cette colonne est utile pour la logistique et la comptabilité, est-il possible d'afficher le nom paramétré dans le titre du mode de paiement par défaut ?

Capture d'écran 2023-09-19 134624

Merci à vous ! :)

Issue with Token login process

Hello,

When i try to connect my Magento 2 website to Shopping feed, i have this error after token write step:

Fatal error: Uncaught Error: Class 'ShoppingFeed\Sdk\Credential\Token' not found in /var/www/html/app/code/ShoppingFeed/Manager/Model/ShoppingFeed/Api/SessionManager.php:62 Stack trace: #0 /var/www/html/app/code/ShoppingFeed/Manager/Model/Account/Importer.php(135): ShoppingFeed\Manager\Model\ShoppingFeed\Api\SessionManager->getSessionByToken('7e95e332a44cece...') #1 /var/www/html/app/code/ShoppingFeed/Manager/Model/Account/Importer.php(166): ShoppingFeed\Manager\Model\Account\Importer->getApiSessionByToken('7e95e332a44cece...') #2 /var/www/html/app/code/ShoppingFeed/Manager/Controller/Adminhtml/Account/Create/Existing.php(62): ShoppingFeed\Manager\Model\Account\Importer->importAccountByApiToken('7e95e332a44cece...', false, 1) #3 /var/www/html/vendor/magento/framework/App/Action/Action.php(107): ShoppingFeed\Manager\Controller\Adminhtml\Account\Create\Existing->execute() #4 /var/www/html/vendor/magento/module-backend/App/AbstractAction.php(229): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Req in /var/www/html/app/code/ShoppingFeed/Manager/Model/ShoppingFeed/Api/SessionManager.php on line 62

Thank you in advance for your help

php-sdk is installed in /vendor/shoppingfeed/php-sdk/
php-feed-generator is installed in /vendor/shoppingfeed/php-feed-generator
shoppingflux/module-magento2 is installed in /app/code/ShoppingFeed/Manager/
I have not use composer for install package but i have just copy/past source folders and set correct access write. php bin/setup:upgrade command successful.

InvalidArgumentException

Hi,

When I try to Install Shopping feed this extension in our magento 2.2.3, must need 2 library and if i install that library through composer then it throws the error which I attached in message.

error

Information problem in the XML feed

Hello,

I have two problems with the XML feeds generated.

  1. The link to the product pafe does not export. Problem because necessary for price comparators.

  2. I added some attributes in the configuration to export them. They are not in the output XML file.

For information, all modules and their dependencies are up to date.

Thank you in advance for your help

PS: my apology for my bad English ….

Post installation steps

Hi guys,

After following the installation instructions from the readme, what should I do to link my magento install to my shopping feed account?

I've tried to run bin/magento shoppingfeed:feed:export on a bare magento2 store with the sample content installed but it's returning:

Exporting feed for store IDs:
==============================

    0 [░░░░░░░░░░░░░░░░░░░░░░░░░░░░]

Best,

Nicolas

SDK not up to date

The beta version (beta-0.2.1) used for the SDK contains a bug that makes the calls for un/acknowledgment fail and that is fixed in the next version.

We recommand updating the module to the last version (0.2.4) to fix the bug and allow to get the last features.

Careful thought as the version used is a beta version and there are some BC-break to resolve to upgrade to last version. Please refer to the changelog for more details.

We also need that your Client pass platform and Magento version : https://github.com/shoppingflux/php-sdk/blob/master/docs/manual/authenticate.md#client-options

<?php
namespace ShoppingFeed\Sdk;

$options = new Client\ClientOptions();
$options->setHandleRateLimit(false);
$options->setPlatform('Magento', '2.2.0');

$credential = new Credential\Token('api_token');
$session    = Client\Client::createSession($credential, $options);

Shipping Method Rules KO on BO

When I am trying to get 'Shipping Method Rules' (on BO),I am getting this error.

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Element 'settings': This element is not expected. Expected is one of ( paging, listingToolbar, filters, massaction, dataSource, columns, container ).
Line: 8

origin issue:
shoppingfeed use "urn:magento:module:Magento_Ui:etc/ui_configuration.xsd" as noNamespaceSchemaLocation and vendor/magento/module-ui/etc/ui_configuration.xsd don't have 'settings' element

Could you check that on your side !

FYI:
I am installing this module on Magento version 2.1.11.

Thanks

Field meta_keywords instead of meta_keyword

Expected behavior :
When the merchant has filled product keywords on his magento, we want to have a field named <meta_keywords> which contains keywords, separated by commas.

Current Behavior :
When the merchant has filled product keywords on his magento, we are getting in the feed, this field <meta_keyword> which contains keywords, separated by commas.

Issue with magento 2.4.4

Hello,

When Trying to update to magento 2.4.4 I have this issue :

Problem 1
- magento/product-community-edition 2.4.4 requires magento/framework 103.0.4 -> satisfiable by magento/framework[103.0.4].
- Conclusion: don't install guzzlehttp/guzzle 7.4.2
- Conclusion: don't install guzzlehttp/guzzle 7.4.1
- Installation request for magento/product-community-edition 2.4.4 -> satisfiable by magento/product-community-edition[2.4.4].
- Installation request for shoppingfeed/magento2-manager ^0.53 -> satisfiable by shoppingfeed/magento2-manager[0.53.0, 0.53.1, 0.53.2].
- magento/framework 103.0.4 requires guzzlehttp/guzzle ^7.3.0 -> satisfiable by guzzlehttp/guzzle[7.3.0, 7.4.0, 7.4.1, 7.4.2].
- Can only install one of: guzzlehttp/guzzle[7.3.0, 6.5.4].
- Can only install one of: guzzlehttp/guzzle[7.4.0, 6.5.4].
- Conclusion: install guzzlehttp/guzzle 6.5.4

Can you maybe just change dependencies to guzzlehttp/guzzle > 6.5 ?

Thank you

Impossible to install M2 2.2.1 when using this module

Hi,

I'm still on a mission to get Magento setup:install command to work when using this module. (See: #22).

Unfortunately, it doesn't work because Console commands provided by the module seem to try and access the store_website table at a step when it doesn't exist yet.

Does anybody experience the same thing when performing a clean Magento install from scratch?

I can provide more info if necessary.

Thanks!

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.