Questions tagged [module]

Questions about developing custom modules

Filter by
Sorted by
Tagged with
0
votes
1answer
97 views

Shipping and Payment Filters does not appear

I have installed Shipping and Payment Filters using Magento Connect's installer. According to last reviews the module works with 1.7.0.2 CE but it does not appear on "Promotions" > "Checkout Rules" ...
0
votes
1answer
87 views

can't load 2 products using load by id method in magento

Friends, I wanna load 2 bundle products using load by id method. this is the code that i have written for that... <?php $bundled = Mage::getModel('catalog/product'); $stdid=$bundled->getIdBySku(...
0
votes
1answer
227 views

My new module does not fire or I'm missing something obvious.. please help

I'm trying to rewrite Magento wysiwyg config class, specifically one constant,, all in the need to change the default upload location of images in admin (for products, cms pages etc..) and this is my ...
0
votes
3answers
699 views

Extending A Single Method Using Depends

I am trying to extend the admin order grid by adding a single column. I don't want to add all the logic again in my code, so the only method I'm calling is _prepareColumns(): protected function ...
0
votes
1answer
81 views

What Model Data Is Available On Edit

I have created a custom module with my own db table. My question is; what data is available to me in the block class while I'm editing an entry? For example, I use the products collection in my block ...
0
votes
1answer
773 views

Promotions and Discounts are not applied in custom shipping method (module)

I created a module that calculates the delivery price according to the price of the item and it works well. However promotions (Example: Free Shipping by categories or number of items) and discounts ...
0
votes
1answer
3k views

Magento XML RPC Error

I have created an XML-RPC User and I've assigned a role (with all resources) from admin panel: System/Web Services/XML-Rpc Users and Roles. Now I want to dump all cart products and send them to an ...
0
votes
1answer
429 views

Magento 2.3.3 - Add file upload field to Contact Page

what is the best way to add a File Upload field in the Contact Page? I want to give users option to upload a file. I try this module but is not work on my 2.3.3 Magento version. Thank you
0
votes
1answer
278 views

How to override or extend etc/view.xml file in custom module in Magento2?

I would like to override or extend some of gallery setting(view.xml) and catalog image size changes with my custom module. I have tried to override in app/code/<vendor>/<module>/etc/view....
0
votes
1answer
219 views

Trying to overwrite Amasty Checkout in custom theme Magento 2.2.7

I'm trying to overwrite a file belonging to the Amasty Single Step Checkout from within my custom theme. The file I'm trying to overwrite is: vendor/amasty/module-single-step-checkout/view/frontend/...
0
votes
1answer
210 views

Magento 2 - Add subcategories images in Top Navigation Menu

I want to add subcategories images in Top Navigation Menu, I found this module but display only parents categories, I need to be on subcategories. I want to be like this:
0
votes
2answers
162 views

Magento looks for my custom local module under namespace Mage

I've created a custom module with an Observer to log every product change on a log file. The Observer is listening on the event catalog_product_save_after. I've created the folder for my namespace ...
0
votes
1answer
34 views

How to set 2 shipping options

I require 2 options for shipping to be set in magento 2.18. First option is Home delivery @ £1 Second Option is using a delivery company by weight is this possible?
0
votes
1answer
271 views

Why is my Magento Catalog Block Preference ignored in di.xml?

I am trying to extend the Magento\Catalog\Block\Product\ListProduct block in Magento 2.1 My Vendor_ModuleName module has the registration.php, the etc/module.xml and it's enabled. Then I add an etc/...
0
votes
1answer
66 views

Set module frontname programatically

In my magento admin area, admin can set a name to be displayed on the contact us page. For example, admin can set "contact-us" as the url-alias and I want to set that as the frontname of my contacts ...
0
votes
2answers
460 views

Custom router in module “Sample New Page” wont work

I am a beginner in Magento Magento 2. I'm trying to learn how to develop module for mage but I have problem with custom routing in module. Here's what I've done: I cloned from their repo and ...
0
votes
2answers
1k views

Custom button to set custom order status

I created a custom module to add a button to the order view page. The button shows up and now it is time to create the action attached. When clicking the button I want 2 things to happen: Set the ...
0
votes
1answer
321 views

Plupload in magento

I am using plupload in custom module in magento This is my phtml: <?php //session_start(); $param = $this->getRequest()->getParam('id'); $_SESSION['id'] = $param; ?> <script ...
0
votes
2answers
1k views

Expanded navigation by default

I use the Sidebar Navigation Menu Professional for Magento by CODNITIVE and I am trying to make it expanded by default. Particularly I need a solution to make just the first list item expanded by ...
0
votes
1answer
4k views

Magento 2 - What is the correct way to remove “Billing Agreements” tab from customer account? [duplicate]

What is the correct and the easiest way to remove the "Billing Agreements" tab from frontend ? The idea is just to hide the link so later if I need I could easily return it back. To do this in ...
-1
votes
2answers
2k views

how to get model variable in phtml file

model public function getAvaiableCustomerCredit() { $session = Mage::getSingleton('checkout/session'); $store = Mage::app()->getStore(); $customer_credit = $this->...
-1
votes
2answers
6k views

Custom Magento API - Resource Path is not Callable

I am trying to create custom api in magento https://stackoverflow.com/questions/12172197/magento-api-publish-a-new-method-in-soap-v2/12258728#12258728?newreg=18f107c4fd89455ebd2b300992cf8fae I am ...
-1
votes
1answer
34 views

Custom Module for sending mail in Magento 2 didn;t send mail?

I have created a custom module in Magento 2 for sending the mail but it doesn't send ant mail in my mailbox. There will be no error shown on page itself please any one help about that. Any help is ...
-1
votes
1answer
127 views

How to add a new module in magento 1.7? [closed]

How to create a new module for sellers dashboard to access from admin panel like as manage products module? I will create a new table in the database to store the details of the sellers.
-1
votes
1answer
80 views

There has been an error processing your request: “Module ”CLS_VehicleFitmentIntegration“ requires module ”CLS_VehicleFitment“.”

I find this in the error log report after getting "There has been an error processing your request": a:4:{i:0;s:76:"Module "CLS_VehicleFitmentIntegration" requires module "CLS_VehicleFitment".";i:1;s:...
-1
votes
1answer
52 views

how to call Moo_CloudZoom block another template? Moo_CloudZoom extenstion use products list or grid page page

how to call Moo_CloudZoom block another template? Moo_CloudZoom extenstion use products list or grid page. i want add Moo_CloudZoom in my product list popup. I just want to add moo_cloudZoom ...
-1
votes
1answer
657 views

Warning: strpos() expects parameter 1 to be string, array given in vendor/magento/module-eav/Model/Entity/Attribute/Source/Table.php on line 157

1 exception(s): Exception #0 (Exception): Warning: strpos() expects parameter 1 to be string, array given in /home/equpo/public_html/demo/vendor/magento/module-eav/Model/Entity/Attribute/Source/Table....
-2
votes
2answers
3k views

Magento 2 Create Custom module [closed]

I have search many times, with key code "create module magento 2". Can you help me more link is exactly what I should be doing to create a module with magento 2. I have tried follow example in this ...
-2
votes
1answer
338 views

Magento 2 How can I create two different sections under the same tab item in admin menu?

I have created two different modules, now I want to create one tab in admin system configuration and show both modules configurations in different tabs. I have two different modules within same "...
-2
votes
1answer
639 views

Not loading module config.xml

So I've done this probably 20 or 30 times, but this time round something isn't loading right and I've no idea why - and to be honest its driving me mental! Basic module, declaration file, config file ...
-2
votes
1answer
353 views

how to show shipping method selection for each item in cart

Can anyone give the solution for the below. I am using magento 2 CE. I want to show all shipping methods for each item in the cart on the shopping cart page and the customer can select the shipping ...
-2
votes
2answers
74 views

Class Factory doesn't exists

I am after this course https://www.mage-world.com/blog/grid-and-form-in-magento-2-admin-panel-part-1.html but my magento version is 2.2.5 so its a little bit different. i create NewsFactory auto by ...
-4
votes
1answer
784 views

How to apply Magento Product Custom options on custom product page [closed]

I have my custom page for product view in my module, the module calculates product price from a csv dynamically based on input. now i want some magento default product custom options to show and when ...
-5
votes
3answers
84 views

How to remove first module errors in Windows

I've created module in magento 2. After this, when I tried to run this module, it creates the following errors... the one is to run command.. this is what it shows when trying to run command ...

1
57 58 59 60
61