Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    b3acon
    @b3acon
    dal:refresh:index solved "all categories missing the products"
    rosco-mcqueen
    @rosco-mcqueen
    after the EA2 update, when I save a footer category for example IMPRINT it replaces the content with lorem ipsum and I cant edit it anymore ..
    b3acon
    @b3acon
    looks like the "sizing mode“ - „boxed content“ is not working anymore in ea2. its always full width.
    rosco-mcqueen
    @rosco-mcqueen
    also the "Benutzerdefinierter Link" is not working, for example I have a category named Kontakt and the shopware contact form at /contact, when I set the "Benutzerdefinierter Link" to /contact it always links to /Kontakt instead
    is it possible to use small caps letters in seo urls? for example {{ product.translated.name |smallcaps}}
    Govinda Mandal
    @govinda-webkul
    Hi All, need help.
    How the entityNumber is being generated?
    Like- productNumber, cusomerNumber..
    Gainto
    @Gainto
    take a look into the numberRangeService
    Stefan Richter
    @SRaromicon
    Is it possible to convert SEO Urls to all lowercase?
    rosco-mcqueen
    @rosco-mcqueen
    i tried it with |lower}} but every change is unaffected. after the first change no change takes effect
    rosco-mcqueen
    @rosco-mcqueen
    and when on a productpage, the navigation lost its active category tab. sideffect of seourls?
    fs-tb
    @fs-tb
    @mitelg I have a problem with the thumbails. I created an importscript which worked fine. But the thumbails wee not created ? I used the mediaService for that purpose:
    $mediaId = $this->mediaService->saveFile(
    file_get_contents($sLocalFile),
    "jpg",
    "image/jpeg",
    $sFileName,
    $this->context,
    'product',
    null,
    false
    );
    $aktProduct = [['id' => $productUUID, 'media' => [['mediaId' => $mediaId, 'productId' => $productUUID]]]];
     $this->productRepository->upsert($aktProduct, $this->context);
    Gydo Broos
    @ionext
    any prospects of Carbon nesbot being added to shopware?
    Jonas Elfering
    @keulinho
    @gydobroos no i don't think so, but as it extends the \DateTime object you should be able to use inside of your plugin
    Gydo Broos
    @ionext
    @keulinho Ah okay, nah I'll just do with the DateTime object then ;) Don't want to clutter my plugin just for the easy of using Carbon
    kevmz
    @kevmz

    @keulinho Can you please help me with the EntityExtensionInterface problem?
    I'm trying to set a relation on the extended attribute of the product entity to my custom entity, but it's not working

            $collection->add(
                (new OneToManyAssociationField(
                    'listPrice',
                    ListPriceDefinition::class,
                    'product_id'
                ))->addFlags(new Extension())
            );
        <sw-inherit-wrapper v-model="product.extensions.listPrice.price"
                            :hasParent="!!parentProduct.id"
                            :inheritedValue="parentProduct.listPrice"
                            label="List price"
                            :localMode="product.isNew()"
                            required>
            <template #content="{ currentValue, updateCurrentValue, isInherited }">
    
                <sw-field type="number"
                          :error="productPurchasePriceError"
                          :min="0"
                          :disabled="isInherited"
                          {#:placeholder="$tc('sw-product.priceForm.placeholderPurchasePriceGross')"#}
                          placeholder="Enter list price"
                          {#v-model="product.extensions.listPrice.price"#}
                          :value="currentValue"
                          @change="updateCurrentValue">
                    <template #suffix>
                        <span v-if="defaultCurrency">{{ defaultCurrency.symbol }}</span>
                    </template>
                </sw-field>
    
            </template>
        </sw-inherit-wrapper>

    OnSave product:

                this.listPrice = this.repository.create(this.context);
                this.listPrice.productId = this.product.id;
                this.listPrice.price = this.product.extensions.listPrice.price;
    
                if (this.localMode === false) {
                    this.repository.save(this.listPrice, this.context).then(() => {
                        console.log('success');
                        this.product.extensions.listPrice = this.listPrice;
                        this.productRepository.save(this.product, this.context).then(() => {
                            console.log('success product');
                            console.log(this.product);
                        }).catch((exception) => {
                            console.log('error product');
                        });
                    }).catch((exception) => {
                        console.log('error');
                        console.log(exception);
                    });
                }
    Almare
    @almare
    Has anyone problems with the devloper toolbar after the update to the latest Shopware version? I always receive a 404
    rosco-mcqueen
    @rosco-mcqueen
    any way to rebuild the seo urls when changed? (on production system)
    Marco Schäfer
    @Marc0_gitlab
    Hello. I have an Resources/storefront/main.js where imports an plugin class to override an existing sw6 js-plugin. I recompiled my theme several times but i get no response for console-logs. The compressed js file must I then be stored in Resources/dist/storefront/js/my-plugin.js? How can I generate the compressed JS file for the Storefront Theme?
    Eugen Kasjanov
    @ekasjanov
    Hello, if i try to compile the theme it throws an arror: Unable to compile the theme "Storefront". Unable to load file "/home/**/PhpstormProjects/project/vendor/shopware/storefront/Resources/dist/js/vendor-node.js". composer update do not help, what should i do ?
    Marco Schäfer
    @Marc0_gitlab
    @rosco-mcqueen | I have test it now with prod EA2 for category -> it works automatically - Name changed and then a new link to the page,
    Pascal Claisse
    @pclaisse
    Hello, i installed EA2 fresh today and everytime i want to save something i get the error message "Undefined constant '膀f::IS_BLANK_ERROR'". Does someone know how to fix this? I've tried so many things but nothing works. (Local installation on Ubuntu without docker)
    MortisReturns
    @MortisReturns
    Hello there. I have a custom theme that inherits from bare. How do i tell my theme to not inherit from bare, so that i have just a plain white site?
    b3acon
    @b3acon
    Moile-navigation is broke since ea2? its impossible to navigate into level2..
    rosco-mcqueen
    @rosco-mcqueen
    @Marc0_gitlab musstest du den Cache anschließend löschen? Ich habe es mehrfach versucht zu speichern etc. Es passiert nichts.
    Marco Schäfer
    @Marc0_gitlab
    @rosco-mcqueen Nein. Ich habe einfach eine Kategorie umbenannt und anschließend die Storefront mit F5 neu geladen und die geänderte Kategorie geöffnet und die neue URL wurde da schon automatisch als SEO-URL angehängt. Hast du evtl. eine ältere Version? Mit der EA 2 läuft das bei mir - Hab es nochmal mit einen Artikel versucht und auch dort wurde der neue Name direkt genutzt. Allerdings habe ich die Standardeinstellungen aktuell noch nicht geändert.
    rosco-mcqueen
    @rosco-mcqueen
    Bei mir geht das garnicht ... Ich habe dir eine PM geschrieben
    Marco Schäfer
    @Marc0_gitlab
    Ich habs jetzt erst verstanden worum es bei dir geht ^^. Ja hier scheinen noch Bugs vorzuliegen sobald du die Artikelnummer wegnimmst. Der Router scheint die URLs immer nur nach seinen Standardschema derzeit zu bauen :) - Ich probier kurz noch was schreibe dann privat.
    rosco-mcqueen
    @rosco-mcqueen
    For the guys who needed lowcase seo urls it is possible with {{ YOUR_VAR|lower }}
    rosco-mcqueen
    @rosco-mcqueen
    how can I define a special price for a product, for example normal = 100 and special is 75
    Hendrik Söbbing
    @soebbing
    How should the special price be triggered? Or do you mean a cross price
    Michael Telgmann
    @mitelg
    @rosco-mcqueen I don't know if it's possible yet, but you could try to assign a rule to the price
    rosco-mcqueen
    @rosco-mcqueen
    a simple sale price, @mitelg will try that, thx
    kevmz
    @kevmz
    good morning, when I console log the product after it's been loaded, there is an attribute under extensions -> product.extensions.seoUrls. I can't find it anywhere in the core code where this attribute has been extended on the produc entity. does anyone have a clue where this has been done?
    Valdemar-Memo-ict
    @Valdemar-Memo-ict
    Hello guys, does anyone have an example of adding a CMS block, maybe a github repository link, because I can't figure out my errors.
    Michael Telgmann
    @mitelg
    @kevmz have a look at \Shopware\Storefront\Framework\Seo\Extension\ProductExtension
    kevmz
    @kevmz
    @mitelg thanks
    Valdemar-Memo-ict
    @Valdemar-Memo-ict
    @mitelg Yes I've followed the explanation, but something went wrong.
    b3acon
    @b3acon
    what exactly
    Valdemar-Memo-ict
    @Valdemar-Memo-ict
    My first error is the call to a member setContainer() on null
    Almare
    @almare
    @keulinho Thank you for your info. I will try it out.
    Michael Telgmann
    @mitelg
    @Valdemar-Memo-ict when did this happen?
    Valdemar-Memo-ict
    @Valdemar-Memo-ict
    @mitelg since friday
    Michael Telgmann
    @mitelg
    no :smile: when on execution of the program. in some command or on plugin install? what did you do?
    Valdemar-Memo-ict
    @Valdemar-Memo-ict
    @mitelg When I try to install the plugin
    b3acon
    @b3acon
    @mitelg is it a know issue for the mobile-navigation that sub.cat's at lvl1 and lvl2 are missing
    JD297
    @JD297
    Hello, can anyone tell me how to translate the Plugin/config.xml like a storefront snippet? (Shopware 6)
    Michael Telgmann
    @mitelg
    @b3acon yes, afaik it should be fixed with the latest master https://github.com/shopware/platform/commits/master
    kevmz
    @kevmz

    @mitelg Is it possible the one-to-one association is not working?

            $collection->add(
                (new OneToOneAssociationField(
                    'listPrice',
                    'listPrice',
                    'product_id',
                    ListPriceDefinition::class
                ))
            );

    This does not work for me, but with the one-to-many association:
    $collection->add( (new OneToOneAssociationField( 'listPrice', 'listPrice', 'product_id', ListPriceDefinition::class )) );?