All Questions
21 questions with no upvoted or accepted answers
5
votes
0
answers
722
views
Custom Model Relationship (CMS Page + Product)
I am trying to assign a Product Object to a CMS Page Object, so when you have the CMS Page Object, you can do something like this:
$product = $page->getProduct();
I have modified the CMS Page ...
2
votes
0
answers
34
views
Product feed with 2 Facebook Page
I have the Facebook Ads extension plugin with Magento.
I already have it configured with one Facebook Page with the product feed.
Is it possible to add another page and a second product feed? The two ...
1
vote
1
answer
694
views
Call current product in custom phtml file in Magento 2
On the product page I created a custom module to override the form.phtml file.
I also added the option to include a new file called customFile.phtml when the user clicks on a button that is positioned ...
1
vote
0
answers
214
views
Magento2 Multiple product chooser
I need a multiple product chooser for a widget. Can anyone please help me with some directions how can I implement something like that?
1
vote
1
answer
122
views
Custom Magento module config.xml not loading after applying security patch
I've just applied the security patches on Magento 1.9 and after that, my custom modules didn't work. I tried clearing the cache and index but nothing happened. When I tried visiting the URL of my ...
1
vote
2
answers
162
views
Magento : Replace Discontinued Product with New Product
I making observer, that detects when someone reorders a discontinued product and should replace that product with a new product.
My question is: How do I retrieve a product object with a specific ...
1
vote
0
answers
489
views
magento 2.1 grid on custom tab of admin product edit page
I am trying to create a grid that should be shown on clicking a custom tab of admin catalog edit page.
1. Created catalog_product_new.xml
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
0
answers
400
views
How to save custom attribute in Magento module
I have this hidden input that I am submitting along with my checkout form:
<input id="text_value" type="hidden" value="This is a test Value" name="text_value"></input>
I was wondering ...
1
vote
0
answers
85
views
Group simple product with fixed price, without qty and user selection option
Is it possible to combined together simple product with fixed price, without qty and user selection option, Custom Option??
Wanted to have feature like grouped product but without user interaction to ...
0
votes
1
answer
48
views
rearrange more information & details tab in product details page in product details page
I need to change the default tab on product details to be more information tab, i make this edit in vendor, i replace this code
<block class="Magento\Catalog\Block\Product\View\Details&...
0
votes
0
answers
2k
views
main.CRITICAL: Error: Call to a member function getId() on null
I'm using Magento 2.4.3 and I'm loading a custom module using someone else's code from the link
https://community.magento.com/t5/Magento-2-x-Programming/Magento-2-Product-Reviews-only-by-customer-who-...
0
votes
1
answer
51
views
Any free extension for displaying top rated products in magento 2?
I like to know is there any free extension or module for displaying top rated products in magento 2?
0
votes
0
answers
19
views
error comming while add to cart using textarea in magento 2.3.5
I am facing this kind of error while creating module for custom add to cart in magento 2.3.5.
So can anyone have idea then please share with me.
Thank you in advance.
0
votes
0
answers
95
views
Move only error message on product view page
can I just move the error message (You cannot use decimal quantity for this product.) under product.info.price?
0
votes
1
answer
888
views
How to add serial number with products in Magento 2
I need to module that is able to attachment a serial number to each product sold in Magento 2
0
votes
2
answers
96
views
Fatal error: Class 'Mage_Mageworx_Customoptions_Helper_Data' not found
I cannot find where Mageworx dir is...
/app/code/local
/app/code/core/
I didn't install the extension but seems to be called it in my page.. and send an error in the admin page.. in the product ...
0
votes
1
answer
56
views
How to manage a product attributes while adding/editing a product?
I have created 2 attributes for my products, attribute1 and attribute2, both are multi-select dropdowns.
What I wanted to achieve is that the second attribute values changes based on the options ...
0
votes
1
answer
56
views
Get all products in the catalog from my Module controller in 2.1.5
I'm in a controller's action in a module I just created. How can I get an array with all the products I got in my catalog?
I did this, but it's not returning the items in the catalog
$objectManager =...
0
votes
0
answers
293
views
catalog_product_collection_load_after causing maximum nesting issue for configurable products
i have written modules that changes price of all products on product details page, including related showing on bottom .
what modules does
here i am passing some product id in get parameter and ...
0
votes
1
answer
36
views
View Date-based Products
I run a food delivery business where we make fresh food, package it, and delivery it locally each day. Each day we offer a different set of options. For example, on Monday there might be Entree A, ...
0
votes
1
answer
180
views
Product compare list empty on costum module page
At header.phtml I load the product compare list with the following code:
$collection = $this->getLayout()->createBlock('catalog/product_compare_list')->getItems();
On default pages like ...