by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Joshua Behrens
    @JoshuaBehrens
    mhmm ok I can understand. sorry for the misunderstanding
    David Fecke
    @leptoquark1
    @shyim When a service don't work it reminds you to implement it into shopware? :D
    Christopher Dosin
    @ChristopherDosin
    No, he did a Shopware 5 plugin for Aloglia.
    So it reminds him to build the plugin also for SW6 ;)
    Shyim
    @shyim
    yep
    algolia is the best
    and the service is working, someone broke just the index
    so its not the fault of that service :wink:
    Christopher Dosin
    @ChristopherDosin
    Yeah Algolia is awesome. Fastest and best search i know :D
    However it's getting expensive if you have some traffic ^^
    Shyim
    @shyim
    i have enterprise plan cause I develop extensions :joy:
    Christopher Dosin
    @ChristopherDosin
    Let's share it! 😂
    Matthias Burgmeier
    @matthiasburgmeier_gitlab
    Hey everyone. I created a custom cms element that works fine in backend and configuration. The blocks i have created display fine in frontend but how do I show my elements? I have a view named 'cms-image-box-element.html.twig' in views/storefront/element and the elements index.js is
    Christopher Dosin
    @ChristopherDosin
    Was building an app based on Algolia a few weeks ago.
    Think after a week or two he reached the limit of the smallest payed plan.
    And if you use the Geosearch also on top, the limit is reached super fast.
    Matthias Burgmeier
    @matthiasburgmeier_gitlab
    Shopware.Service('cmsService').registerCmsElement({
        name: 'sw-cms-image-box-element',
        label: 'Solution einzel tile',
        component: 'sw-cms-image-box-element',
        configComponent: 'sw-cms-image-box-element-config',
        previewComponent: 'sw-cms-image-box-element-preview',
        defaultConfig: {
            headline: {
                source: 'static',
                value: `seb test`.trim()
            },
            media: {
                source: 'static',
                value: null,
                required: true,
                entity: {
                    name: 'media'
                }
            },
        }
    });
    nvm, i looked at the blocks sw6 ships with
    David Fecke
    @leptoquark1
    Is there a way to extend config files like: src/Core/System/Resources/config/loginRegistration.xml?
    Christopher Dosin
    @ChristopherDosin

    back top shopware 6:
    I want to link to a CMS page / Category, so i thought i can use path('frontend.cms.page', { id: theShopPage.id}. The ID is coming from the CategoryEntity.
    However, it's not working - Getting a page not found - After clicking the URL is widgets/cms/4550c07d5ebf40bea01f7a9351d1373c.

    4550c07d5ebf40bea01f7a9351d1373c is the ID from the category.

    Does someone know what i am missing here?

    @NicoWenig27 I guess with custon fields, or an entityExtension.
    Christopher Dosin
    @ChristopherDosin

    @matthiasburgmeier_gitlab So the element template isn't loading in the storefront?
    because your sentence

    The blocks i have created display fine in frontend but how do I show my elements
    is a bit confusing.

    How does your sw-cms-image-box-element component look like?
    Almare
    @almare
    Is there a tutorial somewhere where I can read "How to create an associated entity in vue for products in the administration?" I have problems to find the best practices for newly created association entities for products. Do I have to create the associatedd entity at first with a request and patch than the product entity, or is it possible to do both with one request? Does anyone have some suggestions? Lots of questsions :-)
    Thomas Eiling
    @teiling88
    Hey guys,
    how can I set the cover image for a product? Does 'cover' => true do the "job"?
    Nico Wenig
    @NicoWenig27
    @teiling88 have a look in the product table, there is a column 'cover'. In this column you need to put the product_media id of the cover
    Kevin Müller
    @xkmueller
    hello guys, i have write a new plugin .
    Now i try to install with composer
    i get the following error :
    Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
    any ideas ?
    David Fecke
    @leptoquark1
    @xkmueller So you have your plugin in any composer repo (satis for example)? Or in custom/plugins?
    Kevin Müller
    @xkmueller
    in any composer repo
    "repositories": [
            {
                "type": "composer",
            },
            {
                "type": "vcs",
                "url": "ssh://git@gitlab.repro"
            }
        ],
    and i have added this
    David Fecke
    @leptoquark1
    try run the command composer require my-vendor/my-plugin-name
    Kevin Müller
    @xkmueller
    it works thanks
    David Fecke
    @leptoquark1
    np
    Moritz Preuß
    @habundloot
    maybe a stupid question, but how do i restock product, when they ran out of quantity? do i just enter a new number in the quantity table and refresh it?
    Joshua Behrens
    @JoshuaBehrens
    How can I limit product visibility by a custom rule like a customer group or a tag in the customer and product?
    It is ok if it is not solvable by UI
    Stefan Richter
    @SRaromicon
    @JoshuaBehrens In product listing in storefront?
    Joshua Behrens
    @JoshuaBehrens
    yes. A certain customer loggs in and should see a different set of products than others
    Stefan Richter
    @SRaromicon
    Is this based on customer or customer group?
    David Fecke
    @leptoquark1
    @JoshuaBehrens How about using a different sales channel for this. Since you need to respect that its still buyable for all customers otherwise
    abin2hats
    @abin2hats

    Hi

    is there any API available for top-selling products and top customers?

    Hüseyin Demirci
    @HDReady_gitlab
    hello
    is there a way how i can get the last article set into cart when offcanvas cart is loaded?
    Christopher Dosin
    @ChristopherDosin
    Listen for the offcanvas event and then call your own API endpoint maybe?
    Artsakh1980
    @Artsakh1980

    @King-of-Babylon have you tested your example of Product on your machine?
    I am getting an error like:
    "status": "500",
    "title": "Internal Server Error",
    "detail": "Malformed UTF-8 characters, possibly incorrectly encoded"

    The error in the Access Log is:
    [2020-04-01 07:36:09] php.CRITICAL: Uncaught Exception: Malformed UTF-8 characters, possibly incorrectly encoded {"exception":"[object] (InvalidArgumentException(code: 0): Malformed UTF-8 characters, possibly incorrectly encoded at C:\Bitnami\shopware-6.1.4-0\apps\shopware\htdocs\vendor\symfony\http-foundation\JsonResponse.php:167)"} []

    I am using POSTMAN on Windows, my installation is also on Windows!

    Joshua Behrens
    @JoshuaBehrens
    @leptoquark1 that is no option for me :( too many sales channel as result and I assume that I can’t assign two URLs to different sales channe
    Yafar Valverde
    @TaiKamilla
    is it safe to tag the service AuthController with public="true"?
    Heiner Lohaus
    @hlohaus
    it is safe
    Thomas Eiling
    @teiling88
    thanks @NicoWenig27
    Ardian
    @ardian-c
    @ChristopherDosin thanks for the links, eventually I figured out and used the addAssociation() method to load the manufacturer.
    Yafar Valverde
    @TaiKamilla
    @hlohaus :thumbsup:
    Christopher Dosin
    @ChristopherDosin
    @ardian-c If you don't mind, would love to see your solution :)
    Ardian
    @ardian-c

    @ChristopherDosin

    $criteria = new Criteria();
    $criteria->addFilter(new EqualsFilter('product.active', true));
    $criteria->addFilter(new MultiFilter(
       MultiFilter::CONNECTION_OR,
        [
                    new EqualsFilter('product.manufacturer.name', 'manufacturer-1'),
                    new EqualsFilter('product.manufacturer.name', 'manufacturer-2')
        ]
     ));
    $criteria->addAssociation('manufacturer');
    
    $products = $this->productRepository
                ->search($criteria, $event->getContext())
                ->getEntities();
    
    $event->getPagelet()->addExtension('manufacturerProducts', $products);

    I wanted to have product links on menu, but there was no way to add single product in menu.