by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • May 29 07:17

    shopwareBot on 5.7

    NTR - Fix ajax listing Merge branch 'ntr/5.7/fix-listi… (compare)

  • May 28 16:21
    shyim unlabeled #2357
  • May 28 13:55
    shyim labeled #2357
  • May 28 13:23
    revoltek-daniel opened #2357
  • May 28 12:29
    snHolst opened #2356
  • May 28 12:25
    snHolst opened #2355
  • May 28 06:59

    shopwareBot on 5.7

    SW-25205 - Update modernizr Merge branch 'sw-25205/5.7/mode… (compare)

  • May 26 09:11

    shopwareBot on 5.6

    NTR - Fix build with ant script Merge branch 'ntr/fix-ant-build… (compare)

  • May 25 07:19
    shyim unlabeled #2354
  • May 23 07:27
    dennisottenbacher edited #2354
  • May 22 11:33

    shopwareBot on 5.6

    NTR - Update jQuery to 3.5.1 Merge branch 'ntr/5.6/update-jq… (compare)

  • May 22 09:28

    shopwareBot on next

    SW-25367 - Allow searching for … Merge branch 'sw-25367/5.6/allo… (compare)

  • May 22 09:04

    shopwareBot on next

    SW-25226 - Fix shipping positio… Merge branch 'sw-25226/5.6/fix-… (compare)

  • May 22 09:02

    shopwareBot on next

    SW-25428 - Fix static customer … Merge branch 'sw-25428/5.6/fix-… (compare)

  • May 22 08:58

    shopwareBot on 5.7

    NTR - Fix some deprecations on … Merge branch 'ntr/5.7/fix-some-… (compare)

  • May 21 15:24

    shopwareBot on 5.7

    NTR - Update PHPUnit to 9 Merge branch 'ntr/5.7/update-ph… (compare)

  • May 20 22:13
    shyim unlabeled #2353
  • May 20 22:13
    shyim labeled #2353
  • May 20 22:13
    shyim unlabeled #2353
  • May 20 21:54
    myfluxi closed #2353
Shyim
@shyim
Your product does not have manufacturer
Peter Meijer
@peter-bztrs
So, I have client using the premium Bonus System plugin.
The client has set his shipping cost free above 50 euro.
The customer on the shop orders for 100 euro and uses a voucher wich gives 60 euro discount.
The customer needs to pay 40 euro and additional shipping fee.
Now our client requests that this customer gets free shipping.
How can I arrange this...?
girni
@girni

Hello,

I got a question about custom plugins. Lets say I want to install this plugin into my shopware appliaction:

https://github.com/elkmod/SwagVueStorefront

So I've done the installation process described in this link, but any of the files in git weren't added or changed. Which means if I push the project to remote repo and other developer will checkout it, he won't get the plugin I've installed. Could you explain me what's the idea behind this or how can I install this plugin in the proper way to allow my other team members to get this plugin in their instance of the project?

Peter Meijer
@peter-bztrs
For Shopware 6 questions: https://gitter.im/shopware/platform :-)
Ghost
@ghost~5db2e313d73408ce4fcefd7d
Hi everyone. I'm stuck with the shopping worlds template management. The shop has 2 subshops and all three shops use the same main category, but three different themes. Three template files have been created (index-ex1.tpl, index-ex2.tpl and index-ex3.tpl), and in each only one contains the content of the index.tpl. I understand the trick, but i don't understand how to assign a shopping world to a template. I can't see that option. It's an older version so there is no shop selection...
Ghost
@ghost~5db2e313d73408ce4fcefd7d
Got it, sorry. I spent a whole day without seeing the template dropdown in the layout tab.
bananarne
@bananarne
does shopware have something like a public api, which i can use to get, for example, a picture of a given product id?
bananarne
@bananarne
so i use the usual api? i just won't be able to, say, create a product
but rather give me information about the product in shopware will obey?
Michael Telgmann
@mitelg
@bananarne you have the admin API, where you manage all entities. and you have the saleschannel API, where you read the entities for using them e.g. in the storefront
ups sorry, thought that was a SW6 question :smile:
Michael Stadler
@daMichl

Hi together.
i made some testplugin for SW5 inside the docker container from shopwarelabs: https://github.com/shopwareLabs/shopware-docker. Installed Shopware 5.6 branch from github inside.
plugin works. all is fine. the only thing is: if i install the plugin packaged as a zip (like in the documentation: the folder of the plugin wrapped inside the zip) the plugin will be uploaded and shopware says the uploade was a success, but the plugin does not show up in the plugin manager. i compared the zip with example plugins from the shopware tutorial pages and did not recognize any differences, but the example plugins do work...
does maybe anyone know some problems that can occure even if all seems fine?

heres the plugin as a zip: https://github.com/daMichl/swplugin-mista-test-plugin/releases/tag/a778e05

Joshua Behrens
@JoshuaBehrens
@bananarne @mitelg woopsie now I confused the channels as well. Sorry for weirding things up
Thomas
@alpham8

The contact and product question form is not working. We are getting an exception. Usually it was solved by creating a new form. However, it worked, but not again. So we stuck with broken forms. Here's the exception:

[2020-01-27 17:14:01] core.ERROR: Doctrine\ORM\ORMInvalidArgumentException: A new entity was found through the relationship 'Shopware\Models\Form\Field#form' that was not configured to cascade persist operations for entity: Shopware\Models\Form\Form@0000000063c8d4be0000000026eed938. To solve this issue: Either explicitly call EntityManager#persist() on this unknown entity or configure cascade persist this association in the mapping for example @ManyToOne(..,cascade={"persist"}). If you cannot find out which entity causes the problem implement 'Shopware\Models\Form\Form#__toString()' to get a clue.
in /var/www/vhosts/example.com/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/ORMInvalidArgumentException.php:102 Stack trace:
#0 /var/www/vhosts/example.com/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(3443): Doctrine\ORM\ORMInvalidArgumentException::newEntitiesFoundThroughRelationships(Array)
#1 /var/www/vhosts/example.com/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php(362): Doctrine\ORM\UnitOfWork->assertThatThereAreNoUnintentionallyNonPersistedAssociations()
#2 /var/www/vhosts/example.com/httpdocs/vendor/doctrine/orm/lib/Doctrine/ORM/EntityManager.php(359): Doctrine\ORM\UnitOfWork->commit(NULL)
#3 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Bundle/MailBundle/Service/LogEntryBuilder.php(267): Doctrine\ORM\EntityManager->flush()
#4 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Bundle/MailBundle/Service/LogEntryBuilder.php(240): Shopware\Bundle\MailBundle\Service\LogEntryBuilder->persistContact(Object(Shopware\Models\Mail\Contact))
#5 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Bundle/MailBundle/Service/LogEntryBuilder.php(93): Shopware\Bundle\MailBundle\Service\LogEntryBuilder->assignRecipients(Object(Shopware\Models\Mail\Log), Array)
#6 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Bundle/MailBundle/Service/LogService.php(79): Shopware\Bundle\MailBundle\Service\LogEntryBuilder->build(Object(Enlight_Components_Mail))
#7 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Bundle/MailBundle/DependencyInjection/EventListener/MailSubscriber.php(64): Shopware\Bundle\MailBundle\Service\LogService->log(Object(Enlight_Components_Mail))
#8 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Event/Handler/Default.php(87): Shopware\Bundle\MailBundle\DependencyInjection\EventListener\MailSubscriber->onSendMail(Object(Enlight_Event_EventArgs))
#9 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Event/EventManager.php(214): Enlight_Event_Handler_Default->execute(Object(Enlight_Event_EventArgs))
#10 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Components/Mail.php(386): Enlight_Event_EventManager->notify('Enlight_Compone...', Object(Enlight_Event_EventArgs))
#11 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Controllers/Frontend/Forms.php(134): Enlight_Components_Mail->send()
#12 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Controllers/Frontend/Forms.php(658): Shopware_Controllers_Frontend_Forms->commitForm()
#13 /var/www/vhosts/example.com/httpdocs/engine/Shopware/Controllers/Frontend/Forms.php(86): Shopware_Controllers_Frontend_Forms->handleFormPost('23')
#14 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Controller/Action.php(192): Shopware_Controllers_Frontend_Forms->indexAction()
#15 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Controller/Dispatcher/Default.php(478): Enlight_Controller_Action->dispatch('indexAction')
#16 /var/www/vhosts/example.com/httpdocs/engine/Library/Enlight/Controller/Front.php(228): Enlight_Controller_Dispatcher_Default->dispatch(Object(Enlight_Controller_Request_RequestHttp), Object(Enlight_Controller_Response_ResponseHttp))
(and much more, till #27)

Any help would be great. This is a bit urgent

Shopware files are allright
Thomas
@alpham8
The problem seems to be with the new mail logger, it can't persist the mail, because some other entities were not called to persist
Thomas
@alpham8
Got it guys, it is a solved 5.6.2 Bug: https://issues.shopware.com/issues/SW-24686
And here: shopware/shopware@fc7cea3
johnmitz
@johnmitz_gitlab
Hi eveyone. Should I regenerate urls after I rename the category?
bananarne
@bananarne
if i wanted to store abritary data in shopware, is there some way to do it?
like a little json snipped storing a little json, which it can reference later?
or will i have to use a plugin for that
Hendrik Söbbing
@soebbing
Schwanzerfaust
@Schwanzerfaust
Are the people responsible for SwagEnterpriseSearch here or is that another channel
{
  "name": "Thomas Eiling",
  "email": "t.eiling@shopware.com"
},
{
  "name": "Raphael Emmerich",
  "email": "r.emmerich@shopware.com"
}
Joshua Behrens
@JoshuaBehrens
at least @teiling88 is here. just ask your question
Thomas Eiling
@teiling88
@Schwanzerfaust ask your question it should be the easiest way to get an answer ;-)
Schwanzerfaust
@Schwanzerfaust
ok

We have updated to 5.6.3, we have a heavy integration with the b2b suite, my problem is that when I update the composer depdencies from the composer plugin, I'm getting:

Fatal error: Cannot redeclare Clue\StreamFilter\register() (previously declared in /var/www/html/vendor/clue/stream-filter/src/functions.php:140) in /var/www/html/custom/plugins/SwagEnterpriseSearch/vendor/clue/stream-filter/src/functions.php on line 140

Duplicate required files
@teiling88 Is there anything that I'm missing ?
Thomas Eiling
@teiling88
add clue/stream-filter to your composer.json and pin the version of this library to v1.4.1 that should fix your issue
Schwanzerfaust
@Schwanzerfaust
To which composer.json ?
Shopware's or SwagEnterprise
bananarne
@bananarne
@soebbing thank you, will have a look
Schwanzerfaust
@Schwanzerfaust
@teiling88 and I still don't quite understand how pinning a version with a duplicate required library would help
M4MEET
@M4MEET
I have placed shopping world elements on different listing page. elements shows up when we click on the categories listing for first time. but after chnaging the page or filter input, it gets disappear and instead shows top-seller slider which i havent used at all . how do i get rid of this problem and keep shopping world elements on any page number with same listing categories?
pumpi
@pumpi
@M4MEET this is not a problem this ist exactly what programmed. at Shopware 5.6.4 you can disable this functionality in the shopping world
ioanok
@ioanok
Hi guys! Is there a way to use the Autoupdate plugin in order to update to a specific version? I want to update to sw 5.6.2 not to the latest version, 5.6.4
Thomas Eiling
@teiling88
@Schwanzerfaust from your composer shopware project
M4MEET
@M4MEET
@pumpi So anyway we will be updating our system to 5.6.4, it means i dont need to use shopping world without ajax. This is only for older version right? ---> https://developers.shopware.com/blog/2017/06/26/quick-tip-shopping-worlds-without-ajax/
Thomas
@alpham8
@M4MEET This is quite old and I'd guess it was written for Shopware 4. However, you can still do it, as long as the corresponding widget controller exists (I haven't looked, yet). But I'd guess there are many downsides to load it all at once with the initial request, since shopping wolds could take a long time to load and this would block the rest of the page. This ends up in more (initial) loading time, so less page speed, so less seo ranking
M4MEET
@M4MEET
I have this error while updating paypal plug in. Error
An exception occurred while executing 'INSERT INTO s_core_menu (name, onclick, class, controller, action, shortcut, position, active, pluginID, parent) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)' with params ["PayPal", null, "sprite--paypal-unified", null, null, null, 0, 1, 234, 65]: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry 'PayPal-65' for key 'name'
Thomas
@alpham8
@M4MEET Make a backup (database and filesystem), and try do delete that entry out of s_core_menu and try updating PayPal again
M4MEET
@M4MEET
okay
Thomas
@alpham8
it basically tells you that it wants to create a backend menu entry, that already exists. It is because some automatism tries to create it, although it already exists
devgio81
@devgio81
I have built an independent vue app for another backend for dealers. Now I want to authenticate the dealers. What would be the best solution for this?
Joshua Behrens
@JoshuaBehrens
There are already way to authenticate. Storefront, Backend and Backend-API. Any of them are similar and different to use. Do they have anything of it already?
bananarne
@bananarne
if an image inside the shop has a custom attribute, is there a way to get it from the api?
Pascal
@pascalheidmann-bedarf
@bananarne you mean something saved in s_media? Should be, at least in 5.6.3 I think. There had been a PR that added attributes to most APIs.