Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Marcel Sadae
    @maavik_gitlab
    product item*
    Michael Telgmann
    @mitelg
    I think @maavik_gitlab means the product URL and the category URL
    Marcel Sadae
    @maavik_gitlab
    yes, I need category SEO url and product
    Can I do it through EntityCollection?
    I would like it to comply with the current SEO url
    ajimenez
    @poncho-jim
    There is a dedicated SEO section in the backend settings
    image.png
    Marcel Sadae
    @maavik_gitlab
    Yes I know, but how can i get seo URL of product via id?
    in the php code?
    Michael Telgmann
    @mitelg
    the SEO URL should be available, if you load them while reading the product
    means you need to add the association seoUrls
    Marcel Sadae
    @maavik_gitlab
    ok its works:)
    thank you:)
    Marcel Sadae
    @maavik_gitlab
    Ok, but in seoPathInfo I have for example: "Tools-Electronics/"
    How do you take the entire path and domain?
    @mitelg
    Christian Schwerdt
    @cschwerdt
    can i create product bundles in shopware 6 ?
    Christian Schwerdt
    @cschwerdt
    @MelvinAchterhuis thank you
    Alex
    @Alex--C
    anyone else experiencing problems with php7.4 on mamp 5.6?
    Christian Schwerdt
    @cschwerdt
    is there a good position/technique to override/adjust the DeliveryBuilder?
    thseeker
    @thsekeer
    hello any one tell me where the function of email in shopware 6 ? i am not disusing shopware default email template i want to send email to add text field particular block...
    benedikt-g
    @benedikt-g
    @thsekeer Take a look at Shopware\Core\Checkout\Order\Api\OrderActionController.php::sendMail()(Line 328). Should be enough information to send your own emails
    thseeker
    @thsekeer
    @benedikt-g thank you .. i try to understand...
    diwakar-rana
    @diwakar-rana
    Hello,
    how to include a custom template to override template in admin?
    pumpi
    @pumpi
    Hey There. Is there an way to use the images in public for background images in the scss?
    Shyim
    @shyim
    @pumpi, whats the problem?
    @diwakar-rana, Component.extend and pass the template in the second argument as object
    Component.extend(component, { template });
    pumpi
    @pumpi
    @shyim i will include an image as background but i get an 404 error in the frontend. i dont know if that the right back path to public
    Shyim
    @shyim
    did you tried relative?
    relative path
    pumpi
    @pumpi
    in the scss?
    Shyim
    @shyim
    yea relative path to the img
    pumpi
    @pumpi
    i used ../../../../public/storefront/img/
    and then he want the image from http://shopware.local/public/storefront/img/...
    Daniel W
    @danielwolf1
    Whats the best way to get the decimal sign (comma or dot) depending on the used language? For example . in English and , for German? In SW 5 I did use {''|currency:no_symbol|replace:'0':''} for the decimal sign.
    brainium
    @brainium
    Is there any problem with mail-header and footers? i can’t get shopware use these templates.
    Shyim
    @shyim
    someone mentioned that the inheritance does not work there
    brainium
    @brainium
    too bad. even the stable versions have lots of bugs.
    can we take part in develo
    argh… can we take part in development or simply create tickets?
    Timo Helmke
    @t2oh4e
    You can always create pull requests on github. Or create tickets on issues.shopware.com and hope shopware will fix it.
    Sabrina Sauter
    @samsauter
    hey again chat, i need to access product variants in the cart for some custom operations based on the selected variant. if i debug one already added lineItem I can see the payload and options (variants) within in.
    but if i add a subscriber to listen to the event "LineItemAddedEvent" the payload is empty.
    How would i get the product's variant at this point? Should I get / load the whole product via the productId? And then, should I use the API Endpoint "GET /sales-channel-api/v1/product/{productId}" to get a specific product or is there another way to do this? Thanks for your help!
    kevmz
    @kevmz
    Is there a way in vue.js for bulk queries to create entities in DAL? In PHP there is the option to use an array
    Joshua Behrens
    @JoshuaBehrens
    @kevmz have a look at the voucher generator. That is creating lots of data
    kevmz
    @kevmz
    @JoshuaBehrens do you have a link?
    Christian Schwerdt
    @cschwerdt

    Hi, the individual items in a bundle are not counted individually for the shipping costs. Only the quantity of bundles are taken over.

    The only place I found where I could start
    would

    vendor/shopware/core/Checkout/Cart/Delivery/DeliveryBuilder.php:75

    I have built a differentiation by TYPE test to see if it works.

    ...
    $deliveryQuantity = $item->getQuantity();
    if ($item->getType() === 'swagbundle') {
        $deliveryQuantity = $item->getQuantity() * $itemCount;
    }
    
    // if the item is completely instock, use the delivery date
    if ($item->getDeliveryInformation()->getStock() >= $item->getQuantity()) {
        $position = new DeliveryPosition($item->getId(), clone $item, $deliveryQuantity, $item->getPrice(), $deliveryDate);
    } else {
        // otherwise use the restock date as delivery date
        $position = new DeliveryPosition($item->getId(), clone $item, $deliveryQuantity, $item->getPrice(), $restockDate);
    }
    ...

    Any advice on this?

    Stan van Sluisveld
    @StanSluisveld
    Hi guys, im trying to extend the off canvas filtering. My main.js looks like this:
    import FilterOverride from './script/filter-override';
    window.PluginManager.override('OffCanvasFilter', FilterOverride, '.filter-panel-wrapper-toggle')