The orders status gets updated to “closed” after I do a full refund for every order except for those paid using a gift card.I am able to manually set the order to “closed” using the following code: $order->setData('state', 'complete'); $order->setStatus('complete'); $history = $order->addStatusHistoryComment('Manually set order to Complete.', false); $history->setIsCustomerNotified(false); $order->save(); […]
Magento2
I’ve created a grid via ui component with a mass action. I’ve also added a selections column so when the user click on one or more checkboxes, the items in the grid get selected and the mass action can be called on those items. This work if the user selects […]
I’m pulling a bunch of products from Magento 2 via the SOAP api in postman, but I can’t seem to get the quantity of a product. I can get any or all infomation, but I really need to know how many of that product I have in the database. Here […]
When I try to create a user, I get this error: “Rolled back transaction has not been completed correctly.” In system log I get: main.INFO: Broken reference: the ‘notification.messages’ tries to reorder itself towards ‘user’, but their parents are different: ‘header.inner.right’ and ‘header’ respectively. Any idea?
I want to include my own js or include only few js in require.js, but need to exclude all js files / css files being loaded default by Magneto or any module. it is explained here – https://devdocs.magento.com/guides/v2.3/frontend-dev-guide/layouts/xml-manage.html#layout_markup_css as per the docs – I should include in my – app/design/frontend///Magento_Theme/layout/default_head_blocks.xml […]
I have an intermittent issue that seems to happen across all of the Magento 2 sites I manage where if I’m working in the back-end and I save something (could be a content block, category, product, etc), from time to time it will redirect me to the dashboard and I’ll […]
In the file vendormagentotheme-frontend-lumawebcsssource_breadcrumbs.less there is this code getting called: & when (@media-common = true) { .breadcrumbs { .lib-breadcrumbs(); } } Lets say the mixin .lib-breadcrumbs() is defined multiple times in different files. How can I figure out where the mixin which is called is located? Is there a stacktrace […]
Im creating a new hebrew theme for my new online store. I have played with luma and modified big part of the project to make it rtl. ofc i have created a new template and copied the original luma files and edited them to suit me. Im stuck on the […]
Thanks for looking! I’ve been playing around with this for a while with no luck getting a working instance… although I have VERY limited experience with .php so this might be a simple answer! THE PROBLEM: I would like to utilize Magento’s left nav to display items that are nested […]