by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Jul 14 09:37
    shopwareBot labeled #2334
  • Jul 14 09:37
    shopwareBot unlabeled #2334
  • Jul 14 09:37
    shopwareBot unlabeled #2334
  • Jul 14 09:37
    shopwareBot closed #2334
  • Jul 14 09:36
    shopwareBot unlabeled #2347
  • Jul 14 09:36
    shopwareBot labeled #2347
  • Jul 14 09:36
    shopwareBot unlabeled #2347
  • Jul 14 09:36
    shopwareBot unlabeled #2347
  • Jul 14 09:36
    shopwareBot closed #2347
  • Jul 14 09:35
    shopwareBot labeled #2363
  • Jul 14 09:35
    shopwareBot unlabeled #2363
  • Jul 14 09:35
    shopwareBot unlabeled #2363
  • Jul 14 09:35
    shopwareBot unlabeled #2363
  • Jul 14 09:34
    shopwareBot closed #2363
  • Jul 14 09:26
    shyim labeled #2337
  • Jul 14 09:19

    shopwareBot on 5.6

    SW-25490 - Mark backend session… Merge branch 'sw-25490/5.6/mark… (compare)

  • Jul 13 12:16

    shopwareBot on 5.6

    SW-25481 - Ensure cache is clea… Merge branch 'sw-25481/5.6/ensu… (compare)

  • Jul 10 06:21

    shopwareBot on 5.6

    SW-25482 - Fix closing advanced… Merge branch 'sw-25482/5.6/fix-… (compare)

  • Jul 10 06:20

    shopwareBot on 5.6

    SW-25496 - Update currency sett… Merge branch 'sw-25496/5.6/fix-… (compare)

  • Jul 09 12:11
    shyim labeled #2068
dav9449
@dav9449
no problem
Michael Telgmann
@mitelg
@bunower @dav9449 we moved to slack recently. please note the channel description
Shahbaz
@shahbaz91

Hi need help for follwing error

Fatal error: Uncaught Error: Class 'ComposerAutoloaderInite9b3ea0066d5e4733ee75b613f37b5d3' not found in /var/www/web1177/html/skempini/vendor/autoload.php:7 Stack trace: #0 /var/www/web1177/html/skempini/public/index.php(26): require() #1 {main} thrown in /var/www/web1177/html/skempini/vendor/autoload.php on line 7

Silvana iSi
@Lavean
Hey, we are using Heidelpay and have a bunch of these error messages in the log, but no additional info:
convertOrder failed | no customer / order data found
anyone know why/how to fix it?
xaver
@__xaver_twitter
@shahbaz91 you could try to regenerate composer autoloader of make sure nothing is opcache or in another cache and won't match
@Lavean heidelpay extension is a complete mess and throws several thousand errors a week into sentry
Schwanzerfaust
@Schwanzerfaust
@Lavean try composer dump-autoload
Silvana iSi
@Lavean
@Schwanzerfaust will do, thanks
@__xaver_twitter yea the log is full of them. but only since a couple days it prevents a lot of customers from actually paying/ordering
Schwanzerfaust
@Schwanzerfaust
@Lavean And? Did it solve it ?
Silvana iSi
@Lavean
my team was too afraid to run it in production haha
"it can go terribly wrong"
Schwanzerfaust
@Schwanzerfaust
Well if they prefer to have a broken system instead, that's fine
composer update can go terribly wrong, dump-autoload

@Lavean

dump-autoload (dumpautoload)#
If you need to update the autoloader because of new classes in a classmap package for example, you can use dump-autoload to do that without having to go through an install or update.

Additionally, it can dump an optimized autoloader that converts PSR-0/4 packages into classmap ones for performance reasons. In large applications with many classes, the autoloader can take up a substantial portion of every request's time. Using classmaps for everything is less convenient in development, but using this option you can still use PSR-0/4 for convenience and classmaps for performance.

Options
--no-scripts: Skips the execution of all scripts defined in composer.json file.
--optimize (-o): Convert PSR-0/4 autoloading to classmap to get a faster autoloader. This is recommended especially for production, but can take a bit of time to run so it is currently not done by default.
--classmap-authoritative (-a): Autoload classes from the classmap only. Implicitly enables --optimize.
--apcu: Use APCu to cache found/not-found classes.
--no-dev: Disables autoload-dev rules.

They should learn a thing or two about composer

This is the important part
to do that without having to go through an install or update
Schwanzerfaust
@Schwanzerfaust
And if it could really go "terribly wrong" you'd just copy the vendor folder as a backup
tinect
@tinect
Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/
Leitner
@swissmaker_twitter
I have installed Shopware 6 a couple times. But now with 6.2 the install routine does not start running only shows white page. Mean after five successfull installations i don't know what cut be wrong.
in the past we make simple forwarding (301) to the /public/ folder. Now we get error: You should not be able to see this page.
If yes you are missing some important server configuration. For security reasons, all accessible files are located in the /public directory of your Shopware installation.
Please configure your web server to root your domain to the /public directory of this installation.
Leitner
@swissmaker_twitter
Site is https://www.rollstuhl-kaufen.at thanks for any help. we use WHM CENTOS 7.8 xen hvm [cpanel1] v88.0.10. And i don't know how i shut change the forrwarding that it points straight the /public/ folder. I have try to rename the public-html folder which is the root folder in public and put the files from public there and the rest ones higher but it hasn't worked.
xaver
@__xaver_twitter
@swissmaker_twitter you need to set the root folder to public and it is an subfolder in in your web. It means everything else is one directory upwards
Leitner
@swissmaker_twitter
but how i do that? just rename the folder??
bunower
@bunower
Hey Guys,
i have written a Plugin, it subscribes Enlight_Controller_Action_PostDispatchSecure_Frontend_Listing and if its a specific category i ahve a custom template.
i have 2 questions:
  1. how can i get all Products in this category?
  2. how can i populate the products in the listing page, with informations from product detail page?
Schwanzerfaust
@Schwanzerfaust
@bunower Check the list product service, you would add a list product service decorator to add additional information to your product
depending on what you want to do
@bunower
        <!-- This is executed on the listing page -->
        <service
                id="my_plugin.decorator.list_product_service"
                decorates="shopware_storefront.list_product_service"
                class="MyPlugin\Bundle\StoreFrontBundle\ListingPageDecorator"
        >
           <argument type="service" id="my_plugin.decorator.list_product_service.inner" />
            <argument type="service" id="models" /> <!-- add some other services -->
        </service>
you would add this to your services.xml
Schwanzerfaust
@Schwanzerfaust
class ListProductServiceDecorator implements ListProductServiceInterface
{

    /**
     * @var ListProductServiceInterface
     */
    private $coreDecorator;

    public function __construct(
        ListProductServiceInterface $coreDecorator,
    ) {
        $this->coreDecorator = $coreDecorator;
    }

   /**
     * {@inheritdoc}
     * @throws \Exception
     */
    public function getList(array $numbers, Struct\ProductContextInterface $context) {

        $products = $this->coreDecorator->getList($numbers, $context);

        //Add some custom data here foreach product
        foreach($products as $product){
        }
    }

}
@bunower I don't know what have you done, but afaik the list product service is also used in the PDP, so you might want to add all of your logic here, the difference is that on the listing page getList is called, but in the PDP get is called
that should be it
xaver
@__xaver_twitter
@swissmaker_twitter i never used cpanel and not plan to use it
Alexander Tiutiunnyk
@tiutiunnykleasoft
Hi all,
I am developing a payment plugin for Shopware 6,
and found Shopware 6 application system.
My question is: can I develop an application that would add a new payment method and allow it to be processed as if it were a plugin.
Examples that I refer to: Ecwid web-application and Shopify applications
3 replies
djedrzejewski
@djedrzejewski

Hello, we're updating Shpware to 6.2 from 6.1.6, and me got major issue - all template overriding in plugins don't work :x eg. something like this:
```{% sw_extends '@Storefront/storefront/page/product-detail/description.html.twig' %}

{% block page_product_detail_description_content_properties %}{% endblock %}
```
Doesn't seems to work. But when we're creating new blocks in existing templates it seems to be woorking. Can you give me any hint where to look for the solution?

2 replies
omsag
@omsag

Hi @all,

is it possible to call the shop from outside of the local machine if running in the docker dev environment?

From the Linux Server it is possible to curl localhost:8000 and localhost:9998 (hot-proxy), but when we try the domainname example.com:8000 or example.com:9998 we can't access the shop.

We tried using apache2 as a reverse-proxy which worked fine for proxying localhost:8000 to example.com:80. But the hot-proxy has links set to example.com:9998 and we cant proxy to the same port number, because its already in use

10 replies
Lukas Kahwe Smith
@lsmith77
FYI the SSL certificate on https://shopware.storefrontcloud.io/ seems to be invalid
princewebkul
@princewebkul
Hello @all,
i want to upload image through url , is it possible please let me know .
Thanks
muhkuh2005
@muhkuh2005

Gitter got replaced by Slack. Please use following invite link https://slack.shopware.com to rejoin the awesome Shopware community! https://www.shopware.com/en/news/an-introduction-to-the-shopware-community-slack/

you shouldn't expect anyone to continue reading here :0

Schwanzerfaust
@Schwanzerfaust
Well, it's not like anyone read anything here either
Art
@ArtNushi_twitter

Hello, I need to get all subcategories of a category, im only getting the child count but not the array of child elements, if someone could help, I would appreaciate so much!

My request url:
http://localhost:8000/sales-channel-api/v1/category/b791476ef1984ed987d973dc0245ad44

Azam Alvi
@azamalvi
I am working on Shopware 5, and no idea if I am on right place. I have issue related to my site.
Right now google insight shows 55-60 for Mobile version and 85-90 for Desktop. I want to increase my Mobile percentage. How can I increase it?
Michael Telgmann
@mitelg
@ArtNushi_twitter @azamalvi please be aware, that we moved to slack. check the channel description :blush:
xaver
@__xaver_twitter
@azamalvi you need to get rid some of the JS/CSS. 50-60 mobile isn't that low if you compare it to shopware showcases
Azam Alvi
@azamalvi
@__xaver_twitter thanks for your response. I checked those css/js coming from web/cache folder how can delete the web/cache files.
princewebkul
@princewebkul
Hello Team,
Is there any library for fetching data from XLS file .
please let me know i am waiting for your response.
Thanks.
xaver
@__xaver_twitter
@azamalvi less - you can "remove" the inherited theme and load what you need for less/css. Can be done in a less file after removing it in Theme.php. JS you can remove it in a similar way, but including it again is a little mit complicated. I use the mechanism in Theme.php and load all file with an exclude list and replace (shopware responsive initializes the modules and some lines need to removed, if the module got removed)
Azam Alvi
@azamalvi
@__xaver_twitter thanks for your help. I will sure try to exclude those files from Theme.php and then check.
xaver
@__xaver_twitter
@azamalvi you need a lot of js stuff. Some parts is really easy to overwrite with an simpler version. One of worst Plugins is PayPal. Loads everything. With/without context mode everything, because saving something won't recompile the theme.
bananarne
@bananarne
if i add a column as foreign key, i can't seem to be able to "see"/filter that field from api
Ruben Wagner
@ouven
@ArtNushi_twitter Slack sucks - I cannot reactivate my account. I deactivted it because slack didn't stop sending useless messages, which I couldn't unsubscibe from.
xaver
@__xaver_twitter
@ouven lol