Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [custom]

Denotes questions about Custom code or Custom modules which is used to add/extend/enhance the existing functionality of Core Magento.

0
votes
1answer
9 views

Invalid template file within custom template

I am trying to work out why related products arent being displayed on my frontend, and when I check the logs I am presented with the below. Any help would be great. Thanks [2019-02-14 13:56:02] main....
1
vote
1answer
27 views

Magento 2 Product Insertion area custom multiselect field how to save?

I am add a Multiselect into the custom section product insertion area.Please show below screenshot: I add this multiselect into the F:\xampp-7.2.14\htdocs\magento230\app\Code\Vendor\module\view\...
2
votes
0answers
25 views

Newsletter subscriber custom EDIT route Magento 2.3

I am having custom edit route for core module Magento_Newsletter Subscriber. When I access Edit route loader keeps spinning and doesn't stop. In nginx log I got: 2019/02/11 14:55:33 [error] 15820#...
0
votes
1answer
39 views

Adminhtml form custom renderer - blank page - Magento 1.9

Added custom element to my adminhtml form. It works perfectly fine on my developement site but it won't on production .... the only difference was on dev i made it as a module while on production I ...
0
votes
0answers
24 views

Magento 1.9 admin menu is going to 404!

I am using custom module to getting tax report. It is working fine on demo site. Below is the etc/config.xml: <?xml version="1.0" ?> <config> <modules> <DS_News> ...
1
vote
1answer
24 views

How to Remove/Hide unwanted address fields

I've looked everywhere for an answer to my question. I'm pretty new to Magento. For the shipping-address page of my site, I need to have all of the fields removed. My plan is to have them removed ...
0
votes
0answers
12 views

Mail from a custom Module after saving dat

Hi all I need your help, I am writing a new module (quote request, when user go to the product details page, they can request a quote for the product) I created a form to display in the product ...
0
votes
0answers
24 views

Custom action won't work?

My Customized controller seems not work. Added new method which suppose to update some values in table, here is my method: public function reorderAction() { Mage::log('=> test',true,'...
0
votes
0answers
28 views

Adminhtml custom field - how to create one?

How to create a custom field in adminhtml form? I can customize fields in grid but I need to add my own field (table) in form to be sortable.
0
votes
0answers
27 views

Magento 1.9 CMS block custom field is not saving values

I already checked all similar posts but still don't know why it won't work for me. Manually added columns into the table "cms_block", also added all required fields in to the form.php and now in admin ...
0
votes
0answers
31 views

Import custom customer attribute

I created a custom attribute $eavSetup->addAttribute( Customer::ENTITY, 'table_association', [ 'type' => 'int', 'label' =>...
1
vote
2answers
66 views

Magento 2 add custom static block on product detailed page next o addtocart button

I am working with the Magento2, in that, I like to add a custom block on product detailed page, next to add to cart button. for that, i wrote the below code on catalog_product_view.xml <body&...
0
votes
2answers
27 views

Magento 2.2.5 can't find sitemap while it is generated

I'm struggling with an weird issue. I can't make any custom files / folders in my root of magento. I want to make a custom folder with some images, resulating in 404 errors when trying to reach the ...
0
votes
0answers
5 views

How to add downloadable and phisical product with both option in magento2

I want to create products in magento2 like this screenshot. Options should be: Print Edition => 179$ eBook => 179$ Buy Both For => 223.75$ Anybody have a solution for this kind of requirement.
1
vote
0answers
38 views

How to create a custom discount “Gift card” in Magento 1.9 at cart page

The functionality will be = Enter Gift Card number(16 digit) Enter Gift Card Pin(6 digit) Enter Amount(amount entered by user) I have already created the above mentioned input fields in the cart ...
1
vote
4answers
59 views

Magento 2 : How to pass json ecoded array in custom API

I have created custom API that excepting 'mixed' type parameter and returning the 'string' as I defined. In interface I define parameter type 'mixed'. As I am trying to pass array as json_encode, it ...
0
votes
0answers
17 views

Magento2 How to update product position (number) in specific category by custom script with csv

I would like to set all position sku wise in one specific category using csv here two column data, sku and position. So if anyone has an idea for the custom script kindly reply for me below code ...
0
votes
0answers
26 views

Magento2: custom script for category product sort order position

I need custom script run for specific category products position and use this spreadsheet to change the sort order of the specific category "position" If anyone idea reply me as soon as.
0
votes
2answers
22 views

Magento 2 - InstallData script doesn´t add column to my 'customer_entitiy'

I´m now trying to add a custom attribute for like 5 hours now. It drives me nuts that I dont find the solution hope you can help me. I want a custom attribute to be displayed and saved when the user ...
0
votes
0answers
19 views

Magento 2 reset widget option

I'm working on a custom widget that allows adding multiple CMS blocks instead of one. It's working fine, however when the blocks have been selected they cannot be removed anymore (they can only be ...
0
votes
0answers
21 views

display button toolbar on custom admin page

I'm working with Magento 2.3. I have a custom admin page which I made following this tutorial - https://devdocs.magento.com/guides/v2.3/ext-best-practices/extension-coding/example-module-adminpage....
0
votes
1answer
52 views

Magento 2 Product tab link

I'm trying to add an product tab which only functions as a link href predifined in a custom block. No tab content is needed. I tried the following: <referenceBlock name="product.info....
0
votes
1answer
18 views

in custom homepage template images added only in newline (magento 1.9.4)

Following is the homepage.phtml <html> <?php /** * Magento * * NOTICE OF LICENSE * * This source file is subject to the Academic Free License (AFL 3.0) * that is bundled with this ...
2
votes
1answer
39 views

How do I extend css with theme that doesn't call extend?

sorry if this is obvious or has been answered. I tried looking around and didn't see it. Also I'm getting around Magento okay but by no means an expert. I have a Magento 2 theme that it was ...
0
votes
0answers
46 views

Magento 1.9.4 add custom dropdown field to inventory tab

Currently in magento when you manually change the quantity of a stock managed product in the admin there is no reason assigned to this. So, what I would like to do is add a dropdown field below the ...
0
votes
2answers
48 views

Magento 2 in frontend can not able to get the customer custom attribute value

I have created a custom customer attribute, and while create and update customer from backend the value will be saved in Database. But while do the same thing from front-end the value is not able to ...
2
votes
1answer
91 views

Magento 2 Create observer on customer create, with custom module

I want to create an observer in my custom module which called when new customer create and delete. In my custom module i want to add custom data when customer created and delete custom data when ...
0
votes
0answers
17 views

Magento 2 - Custom input field for each item in the Checkout Cart

I need to implement a custom field for each item in the checkout cart. Is there any proper way to add this custom field like the image below? Thanks!
0
votes
3answers
36 views

How to add custom js file in Magento 2 in custom theme without use module

I used custom theme in magento 2. I want to add custom js file for navigation in magento 2 but js file not work. I add js link in default_head_block.xml but a js doesn't work. <link src="js/menu....
0
votes
1answer
45 views

Magento 2 - setCustomPrice() does not work after Quote Item Update

I've been struggling with this issue for the past few weeks now. My goal is to set a custom price for an item after I edit them on Cart. Basically, I'm using an observer on the event ...
0
votes
0answers
15 views

Magento 2 - Custom Shipping Table Rate Marketplace

I'm developing a marketplace using Webkul extension and I have developed a custom Shipping Table Rate as the image below: All these shipping rates are stored in the database. How can I make these ...
0
votes
2answers
33 views

Magento 2 make new method available in list.phtml

If I need to create a method under Magento\Catalog\Test\Block\Product\ListProduct Class This class has methods such as: getProductItem,getProductNames,getProductsCount,getSortByValues I Would like ...
0
votes
0answers
22 views

CREATING CUSTOM FIELDS USING MAGENTO 2 UI COMPONENTS on chekcout page

I have one issue like i need to add custom fields for specific shipping method i fallowed reference link enter link description here I was able to add in front end checkout page in same i need admin ...
3
votes
6answers
74 views

Getting Items in Cart

I've tried many methods over the web including here too but still I can't seem to be able to get items currently in cart, tried checkout sessions cart model, cart helper nothing works, It sometimes ...
0
votes
1answer
28 views

Custom Module Layout Problem

I've created a custom Magento 2 Module and I am facing a problem of URL returning blank page If I am calling the block from template file using layout Magento Version : 2.2.4 URL Trying to visit : ...
2
votes
2answers
51 views

M2 - Create own CMS page template

I want to create my own custom template to choose from a CMS page in Magento 2. I've already done the following: Created bktext.xml <?xml version="1.0"?> <!-- /** * Copyright © Magento, ...
2
votes
0answers
28 views

Custom plugin files updated code is not showing in admin panel though cache is cleared

I have created a custom module. Controller files are working fine. I am trying to update my module MySQL version and adding new fields to the module in block folder files but they are not applying in ...
1
vote
0answers
36 views

Magento 1.9 - Custom Input Checkbox Types in Custom Options

I wanted to add custom Input Checkbox Type in product custom option and I have followed bellow link in order to add the type. This is working fine as default value (always associated/added to the ...
0
votes
1answer
39 views

Override footer content with custom cms blocks?

Is there a way to "delete" all current footer content, and put a single cms block in there? I want to manage all its content in a simple cms block. Designing a custom footer seems to be very ...
0
votes
1answer
99 views

Magento 2 Custom attribute in checkout summary affects payment method

I have created a module that adds custom attribute "master_id" in checkout summary, I am not sure why the payment method not working it showing no payment method After adding this module the payment ...
0
votes
0answers
311 views

Magento 2: How to show review form in a custom block

I have removed the review tab. I wish to add review form in custom block. Please provide me a solution to show review form in a custom block. Please provide me a solution in magento 2
0
votes
0answers
16 views

How to display reviews in a separate block in magento 2

I wish to display review form and the collection of all reviews into a single custom container. Please provide me a solution to display review form in a separate container in magento 2
0
votes
1answer
30 views

Add test on the new custom attributes magento 2

I added 3 new attributes: Personnal Contact must be just with letter else an exception will be displayed and Website must be valid and Tel must be Numerique so how to do that please
0
votes
2answers
22 views

Get param : Controller of custom product interface

I've created a page where I have a list of products. In each row (1 row = 1 product), I have a button "add to cart" : <?php $postParams = $block->getAddToCartPostParams($_product); ?> <...
0
votes
0answers
27 views

Missing all Widgets in custom Theme

I'm a beginer in Magento (also magento 2) and i have 1 question. In all tutorials I can see how people change Theme in admin panel to Custom Theme and all Widgets save's. But then I'm doing this - all ...
2
votes
0answers
127 views

Magento 2 - Custom module file upload configuration and save in custom module table

File upload in Magento 2 store configuration <section id="custom_section" translate="label" type="text" sortOrder="301" showInDefault="1" showInWebsite="1" showInStore="0"> <label>...
2
votes
4answers
96 views

Move Custom tab at top of left sidebar customer dashboard

I want to move my custom tab from bottom to top in customer dashboard left sidebar. I tried below thing <referenceBlock name="customer-account-navigation-account-link" remove="true"/> &...
0
votes
1answer
36 views

How to add customer account login to custom module page

I have custom module that registers customers for an event/product. I created a page that displays the registration form from my module. The link to the registration page is in the footer. When a ...
0
votes
0answers
13 views

Custom Compare Functionality Magento 2

I have to develop custom compare functionality with custom records data. I am getting data records using API and displaying it in the table. In this table I've add column to add each record to ...
0
votes
2answers
196 views

low stock notification to admin without any extension in magento 1.9

I want to create the custom module for email sent to admin for notifying when the product is low qty in magento 1.9.x.