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
Related
After upgrading from Magento 2.2 to Magento 2.4.3, checkout order subtotal, grand total, shipping and everything in summary or cart page (not popup) are showing zero values.
I've tried to disable our One step page extension and switched to Luma theme, but its still showing the same.
Please help. Thanks in advance.
I am implementing a module for salesforce integration in Magento 2. I want to map Salesforce fields with Magento fields(it will be dropdown list, from which user going to select field) as shown in the image. I am new in Magento 2. Does anyone help me with an example?
sample layout
In Magento 2.2.x/2.3.0
I have to create new bookmark for storing grid current page like they store pagination (20,30,50,100,200) in ui_bookmark table.
The issue is that in magneto admin if we are on 3rd page (or any page) of catalog product and edit any product of that page then click on BACK button. Now we redirect again on catalog product grid but our page reset to 1st rather than 3rd page.
How can we do it?
I solved grid current page issue by session. I stored current page value in session(From controller) and get on template file.
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"}}