Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    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')
    this is the filter-override file:
    import OffCanvasFilter from 'src/plugin/offcanvas-filter/offcanvas-filter.plugin';
    
    export default class FilterOverride extends OffCanvasFilter{
        init() {
            super.init();
        }
    }
    But i keep getting the console error: Uncaught Error: The plugin "OffCanvasFilter" is not registered.
    does somebody knows whats up?
    benedikt-g
    @benedikt-g
    @brainium header and footer should work as long as they have the correct saleschannel
    brainium
    @brainium
    @benedikt-g saleschannels are configured/selected. do i need to refresh any cache?
    benedikt-g
    @benedikt-g
    @brainium Don't know. You can check here Content/MailTemplate/Service/MailService.php::buildContents() if the necessary data is there.
    brainium
    @brainium
    @benedikt-g Thanks
    brainium
    @brainium
    After updating to 6.1.1. it throwing "Unknown "navigationUrl" function.“ Any hints?
    Heiner Lohaus
    @hlohaus
    use seoUrl
    b3acon
    @b3acon
    reset Saleschannel in this cat
    brainium
    @brainium
    I switched to the parent block. thanks
    what is the beste way to use assets of a theme-bundle from outside shopware in case of the url/paths?
    aoezoguz
    @aoezoguz
    Hi I am getting an Error in Step 32/40. It also seems to appear randomly, since yesterday it did not accur and the installation went well. But I had some trouble so wanted to reinstall and now its stopping in Step 32/40 with the following output:

    (32/40) Starting

    npm --prefix vendor/shopware/platform/src/Storefront/Resources/app/storefront/ clean-install
    npm WARN prepare removing existing node_modules/ before installation
    npm ERR! code ENOTEMPTY
    npm ERR! syscall rmdir
    npm ERR! path /mnt/c/Users/XXXX/XXXX/shopware6/development/vendor/shopware/platform/src/Storefront/Resources/app/storefront/node_modules/sockjs-client
    npm ERR! errno -39
    npm ERR! ENOTEMPTY: directory not empty, rmdir '/mnt/c/Users/XXXX/XXXX/shopware6/development/vendor/shopware/platform/src/Storefront/Resources/app/storefront/node_modules/sockjs-client'

        npm ERR! A complete log of this run can be found in:
        npm ERR!     /home/XXXX/.npm/_logs/2020-02-04T10_53_05_712Z-debug.log

    Execution aborted, a subcommand failed!

    Daniel W
    @danielwolf1
    storefront:watch compiles the js files if I change them in the plugin - but the browser wont pick the new js files - even after reloading the browser. Any ideas?
    Stan van Sluisveld
    @StanSluisveld
    @danielwolf1 did you add your compiled JS file to your theme.json
    aoezoguz
    @aoezoguz
    Any ideas concerning the npm Error?