Stack Exchange Network

Stack Exchange network consists of 175 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
0answers
17 views

Update Store Summary By Checkout Address Country Change

So Basically I want to update my checkout cart summary when user select country from shipping address ,cart price and currency change according to the country he selected in shipping address.
0
votes
0answers
20 views

Magento 2 : Create and Handle Many to Many Relationship Between Two Table

I have two custom table that is related by many to many relationships. So how to create these two tables: is there a specific syntax? and how to handle this type of relation thanks in advance
1
vote
2answers
67 views

Magento 2 import bulk products with custom attribute

I have created 1 custom attribute (current_user_id) and saving value when product is saved. I have usecatalog_product_save_before event that save value for my custom attribute(current_user_id). code ...
0
votes
1answer
27 views

Magneto 2 Session getting reset after placing order

Can anyone help me with this? I want some information from the session after order is placed. I tried customer session and even my own new session but after placing order am bot getting anything in ...
0
votes
0answers
13 views

configurable product: display custom attribute value when all options are selected

in configurable products I need to display the value of a custom attribute when all select fields are filled. It seems that only images and price are updated (js). In my case I need to display ...
0
votes
2answers
20 views

Integrate js with button on uiComponent xml

I have the following custom form in my admin html and I have tried to insert a javascript function on my custom button click but the page being in a infinity loading loop. view/adminhtml/...
1
vote
2answers
40 views

How to modify the custom module URL?

I have created custom module i.e /stores/index/display. But I want to modify the /stores, How can I do that?
0
votes
0answers
13 views

How to Add Wishlist Custom Attribute in Magento1?

I want to add customer attribute in magento wishlist in order to save additional field in wishlist table.
0
votes
0answers
13 views

i want to add gift box message(text field) on product page magento 1

I want to add custom gift box message(text field) on the product page so please suggest how we can do this? And this field is shown on the checkout page with a particular product and it is also ...
0
votes
1answer
16 views

How array set in email.html file

i make custom mail template. my template variables are $TemplateParameter=[ 'customerName'=>$getOrderParams['customerName'], 'orderItems'=>$getOrderParams['productinfo'] ...
0
votes
0answers
20 views

I want to Add product chooser in my custom admin module

I want to Add product chooser in my custom admin module. How can I add it?
1
vote
1answer
39 views

Magento 2 Custom extension admin grid returning blank

I have a custom module on my Magento 2 installation. The problem is when I access the admin grid, it's returning a blank page, just with the title of the page, like the following picture. I already ...
0
votes
0answers
18 views

Menu Items Showing up Behind Remove Item dropdown Magento 2.2

Getting this issue with our magento e-commerce site, The remove item popup is showin below the menu, as you can see in the picture below the menu text appears over the dropdow menu, and are ...
0
votes
0answers
19 views

Magento 2 - Custom Registration Form For A Specific Customer Group

I am trying to build a custom registration form that can be shown on the CMS page. Any guest user can register through this form. Customers whoever register through this form will fall under a ...
1
vote
1answer
23 views

Magento 2 : Not set custom attributes value when create product programmatically

When I create product programmatically I want to set custom attributes value. try to below code but it displays Uncaught Error: Call to a member function setCustomAttribute() $objectManager = \...
0
votes
1answer
37 views

How to create custom table programmatically(using code) without using installschema.php magento 2?

Actually I have created a custom grid in back-end for creating custom table there I am providing some fields like- table name, Assigned to Module Name, Number of Input text boxes. Now I want to ...
2
votes
1answer
33 views

Magento 2.3.0 add custom JS in theme, using require js

I want to add a custom js - pricing.js in my theme folder using require js I call the script in defaultheadBlock.xml <?xml version="1.0"?> <page xmlns:xsi="http://www.w3.org/2001/XMLSchema-...
1
vote
1answer
37 views

How to save the data for customer custom attribute in magento 2

I created a custom customer attribute using an install script. $customerSetup -> addAttribute(\Magento\Customer\Model\Customer::ENTITY, 'is_mpowersync', [ 'label' => 'Is ...
1
vote
1answer
23 views

How to create readable subfolder in Magento root

So, I am working with Magento 1.9 and I want to create a new subfolder in the Magento root in order to put my scripts. The matter is, in localhost everything is working fine. I can browse /scripts ...
1
vote
0answers
15 views

How to add style(css,js) to custom widget

Hi i can try to add style to widget in the usual way. like here https://webkul.com/blog/magento2-how-to-add-css-and-js-file-in-module/ its not working. How can i add to css file to widget?
0
votes
0answers
19 views

How do I capture custom measurments for products?

I have products(dresses) which dont have any sizes defined. I want users to enter their measurments and buy product. I want a form underneath every product which need to be filled, it captures various ...
0
votes
1answer
30 views

How to get Attribute in phtml file

I would like to add a new product attribute to the file Magento_Catalog/templates/product/price/amount/default.phtml And Magento_Tax/templates/pricing/adjustment.phtml As an additional data ...
1
vote
0answers
15 views

How to add dynamic row in custom module magento 2 [duplicate]

I have created the adding dynamic row entity in config module, here is the snap shot for same, Now i want the same functionality while i am adding or editing the form through admin grid . Please ...
0
votes
1answer
27 views

Magento2 Enterprise: Can we add Special Price From Date and Special Price To Date in Enterprise Edition

i want to add Special Price From Date and Special Price To Date in Enterprise Edition.By default this feature is not available in E.E but available in C.E
2
votes
2answers
43 views

How to set the category ids to a products from category path?

I want to progrmmatically create products from a xml. Ex : I am getting the product categories as like below. Default Category/Beer , Default Category/Beer /CRAFT, Default Category/Beer /CRAFT/...
1
vote
0answers
13 views

How to add category Path when creating product progrmatically in magento 2

I want to create products programatically by reading an xml file. Reading from xml, and creating product part is completed. I have no idea how to assign the products to category. This is my xml node ...
0
votes
0answers
21 views

how to hide international shipping options in checkout

In my Magento store, there are multiple shipping options, some are for international shipping and some are for domestic. I am trying to hide the international options if the country is UK and visa ...
1
vote
1answer
20 views

Magento 2.2.5 - Add wishlist to custom new page

We have a separate new page for listing the products, there we need a "Wishlist" option as like as in product catalog page. Can anyone share the exact idea to implement it?.
1
vote
1answer
32 views

Magento2: How to get simple products Assosiate to configurable products [duplicate]

I want to get simple products Associate to configurable products in custom module using factory method. (not using object manager)
1
vote
0answers
23 views

Issue in pragmatically create orders in magento 2

I want to create orders pragmatically by getting the data from xml. Reading data from xml part is done. when creating order steps i am getting this error. Parse error: syntax error, unexpected '$...
3
votes
1answer
32 views

How to add sales order table custom value to magento 2 report from a custom module

I created a custom module to check the ad code (measure the marketing traffic) value from the url and add to the order. I added a column to the sales order table and save the ad value when user place ...
3
votes
0answers
34 views

How to custom id input on field in form ui component Magento 2?

How to custom id input on field in form ui component Magento 2? Here's my code: <input class="admin__control-text" type="text" data-bind=" event: {change: userChanges}, value: value, ...
1
vote
1answer
35 views

How to add custom information on product Grid/List view page?

I want to add a description on product Grid/List view page as the picture shows (The "Order Online" and "Delivery Available" part). Is there any way I can achieve this? Or any extension can help me ...
1
vote
0answers
64 views

Magento 2 : Custom field data is not saving in product add edit

Custom Field is showing in Product add/edit but data not saving. Here is my full code Vend\Customattrib\etc\adminhtml\di.xml <?xml version="1.0" encoding="UTF-8"?> <config xmlns:xsi="...
0
votes
0answers
26 views

Magento 2.3 Return Custom Shipping Methods

Magento 2.3 I have an external REST API that will return a list of shipping methods based on zip code, how should I set up my custom module return the results in a list of shipping methods to pick ...
2
votes
1answer
48 views

Magento 2 product page include custom phtml file before reviews section

Can anyone help me how to include custom phtml file before reviews section in magento2 please find the screenshot below: When i click on the button it is going to add to cart. Thanks
2
votes
0answers
38 views

I am creating a custom widget “SPONSORED BEST SELLER PRODUCTS” block to show on home page. Bestseller.phtml file not rendering in the front end

This is my registration.php \Magento\Framework\Component\ComponentRegistrar::register( \Magento\Framework\Component\ComponentRegistrar::MODULE, 'Relabs_LabAPI', __DIR__ ); This ...
3
votes
1answer
26 views

Create an Attribute Set and create a Product Attribute in Product Details Group for only One Attribute Set

I asked a question here about this just over a week ago, but it took a little while to edit the post to include some code. The original post and code can be seen here I am able to create an ...
1
vote
2answers
24 views

Getting Custom Collection without some fields

It is magento 1.9.4.0 and i need a array with some nodes. When i get the models collection with: Mage::getModel('nstok/nstok') ->getCollection() ...
1
vote
1answer
37 views

How to display only USA states as a select drop-down in custom phtml in Magento2.2.5?

I want to display only USA states as a select drop-down in custom phtml in Magento2.2.5? Any help would be appreciated.
2
votes
1answer
80 views

Magento 2 Category page add custom view mode

On category page I want to add addition view mode as "expand" with "grid" and "list" mode. If any one has created custom view mode for category page then help.
1
vote
0answers
20 views

Admin form placeholder won't show

I dug up the "stack" and found one good example of how to add new attribute to the field but it won't work. $founderFieldset->addType('text', 'Amber_SupaSlid_Block_Adminhtml_Text'); $...
1
vote
1answer
14 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
32 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
41 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
56 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
26 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
28 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
18 views

Mail from a custom Module after saving data

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 details page. When user submit ...
0
votes
0answers
26 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,'...