In Magento 2.x.x, if we are on catalog product grid, there we are not 3rd page and edit/open any product. After that we click on back button then we redirect to grid with 1 page rather than 3rd(previous) page.
This issue with sales order and custom grid also.
It means its magento 2 default issue.
Please help me how can we fix it.
Thank you
I'm new to magento2. Now I doing wp post inside my magento2 site by using Fishpig. I have ACF installed in my wp, and i wanted to call it.
My code
I try to console log my slider ACF, it returns 4 as i got 4 images in the repeater fields inside a post by using $post->getMetaValue("slider") as it stated inside fishpig documentation.
My ACF fields
Next, I want to loop out the repeater ACF fields and display Images. Image field already set to return URL.
How can i do that? What method to use? Please show me sample code. Thank very much.
If the slider is returning 4, this means ACF isn't working properly. Ensure you have the latest version of the ACF module in Magento and the free Magento WordPress Integration module.
I need to move the Newsletter Signup from the footer into a Content Block I've created in the backend of my Magento 2.1.3 installation.
In Magento 1 you could use the code below but this appears to be no longer the case using Magento 2
{{block type="newsletter/subscribe" name="left.newsletter" template="newsletter/subscribe.phtml"}}
Was wondering if anyone had a solution that could help. The site I'm developing is china.testdev.tech and the newsletter signup needs to go into the blue box in the middle of the homepage content.
Thanks in advance.
Kev
In magento-2 To call the particular phtml file, You need to used this code.
{{block class="Magento\Newsletter\Block\Subscribe" name="home.form.subscribe" template="Magento_Newsletter::subscribe.phtml"}}
I am developing an e-commerce website and I need to customize the database. I want to add some tables into the database and records entry should be done from the Magento Admin Panel, eg:-
Like as we click Add New Product under Manage Products from Magento Admin Panel, whatever data we provide there like, name, weight, description, sku, etc, it is entered to the respective database table automatically.
Now, let’s say I want three more tables to be created in the database: Brand(brand_id, brand_name, brand_desc...), Brand_loc(brand_id, brand_loc_id, brand_address, brand_city, brand_state...), Product(prod_id, brand_id, brand_loc_id, prod_name, prod_weight....).
So, I want the above tables’ attributes to be shown in Magento Admin Panel and as I enter the data from Magento Admin Panel, it should be entered to the respective tables in the database like I explained of Add New Product above.
Can anyone please help me on the above issue....
Thanks.
I will proceed as follows :
add a event observer in my module so that can be called once a product is saved, there are various observers in magento for before and after events.
when a product is saved i will add my code of saving data into custom tables in the observer function.
tutorial to add product after observer is here :
http://snipplr.com/view/56959/
As per a magento developer i would advice to create a complete module doing as said above, and also create pages so that admin can edit/delete brands in your case.
How can I create my own login form on frontend? I don’t just want to modify the template of the existing login form, but I would like to create my own.
I am using Magento Community 1.7.
Thank you for any guidance you could give me.
Create a new template and override the layout xml to insert your own block.