2
votes
Accepted
Error on constructor while saving form into the database
Can you please replace this code and compile it
public function __construct(Context $context, PageFactory $resultPageFactory, PostFactory $postFactory)
{
$this->resultPageFactory = $...
1
vote
How to remove this sidebar from Magento website?
You can try the following steps it will usefull to you
1.Log in to your Magento admin panel.
2.Navigate to the "Content" tab and select "Blocks" from the dropdown menu.
3.Search ...
1
vote
Help! image appearing twice on product page
The Issue may occured due to following 2 reasons.
JS Errors on PDP page
HTML element is duplicated in phtml file
Case 1:
The default magento product details page will show the main image with the ...
1
vote
Accepted
Changing the design of Myaccount page
You can create this file in your custom theme here
app/design/frontend/Vendor/Theme/Magento_Theme/layout/default_head_blocks.xml
Content for this file is ..
<?xml version="1.0"?>
<page ...
1
vote
How can I integrate my custom module with venia theme (pwa-studio)
You need to add schema.graphqls (inside etc folder)
in your custom module
define the schema regards your fields
For example:
type Query {
getMainBanners : [MainBanners]
@resolver( class: &...
1
vote
Can virtual host is compulsory to create in pwa Magento 2.3.1?
At the moment it is development only. So its virtual only. But as soon as they release hopefully there will be documentation on deploying to a live site.
1
vote
Magento2 Get Order API data in custom section
You can use \Magento\Framework\Controller\Result\JsonFactory by injecting it in your controller constructor. Using it you will be able to return a PHP object into JSON format
Check this:
protected $...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
help-wanted × 15magento2 × 6
magento2.3 × 5
pwa × 4
pwa-studio × 3
magento-1.9 × 2
magento2.3.1 × 2
venia × 2
magento-2.1 × 1
php × 1
database × 1
orders × 1
error × 1
theme × 1
css × 1
product-images × 1
url × 1
image × 1
phtml × 1
order-status × 1
image-upload × 1
script × 1
setup-upgrade × 1
link × 1
php-7.2 × 1