Skip to main content
Matthew Haworth's user avatar
Matthew Haworth's user avatar
Matthew Haworth's user avatar
Matthew Haworth
  • Member for 11 years, 9 months
  • Last seen more than a month ago
comment
Magento2: Cart price rule not applying
Do not do this, it will change the price permanently.
awarded
comment
comment
Magento 2 : Add Hero Image Upload Field on CMS page
This is amazing. One thing though, don't put ?> at the end of your files, doing so could mean you accidentally include an extra character which would send headers before Magento does and cause you issues.
comment
How to implement service contract for a custom module in Magento 2?
@Vinai no, that's a fair point - i'm just lazy ;)
comment
How to implement service contract for a custom module in Magento 2?
An even lazier way of setting search results is to just set it as the core one: <preference for="VinaiKopp\Kitchen\Api\Data\HamburgerSearchResultsInterf‌​ace" type="Magento\Framework\Api\SearchResults" /> in di.xml
comment
Magento 2 Layout not loading
FYI it's regarded as bad practice to put ?> at the end of your php files. The reason is, if you accidentally put whitespace after the ?> then PHP will begin its response to the client. When Magento comes to set its own headers and response, it'll error, "Headers already sent" and you'll spend hours debugging it.
comment
awarded
awarded
awarded
awarded
comment
Magento 1.8.1 updates customer "created_at" time on every save
I think it changes it in the beforeSave because it modifies it in the afterLoad. If it was saved in database as UTC, changed to BST in the afterLoad, and then saved without converting back to UTC, it would break.
comment
What is the file path for mydomain.com/shop/checkout/cart/couponPost?
This is a good tutorial, but only covers admin controllers. Should help though. smashingmagazine.com/2014/03/…
Loading…
awarded
comment
What happens when I close the browser window during import?
can you do the following on the server: cd /webroot/shell && php compiler.php clear this will clear the disable and exclude the compiler path.
awarded
comment
What happens when I close the browser window during import?
The other post looks like a compilation issue. Do you have access to the server this site is running on?
comment
Mysql access denied error
remember and run:flush privilegesafter your grant command