Questions tagged [create]

The tag has no usage guidance.

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

my First Admin Page is not shown up

I try to write a own module. After 1 week of searching I hope u can help to go on. Its a very simple admin page. module_dir: app/code/famberg/module_afterbuysync/ ... Controller/Adminhtml/Settings/...
0 votes
3 answers
30 views

How create product programatically with product ProductRepository and Json

I am trying to add product programatically with json format which we can used create product through API but unable to create product. $json = '{ "sku": "samsung-a50", "name&...
  • 976
0 votes
1 answer
15 views

created bundle option into existing bundle wont save programatically

Magento 2.4.2-p1 Goal is to create a bundle option with a selection in it based on array of skus. The array has 4 skus of simples existing in the catalog, lets say: [50702640,50702240,90102870,...
0 votes
1 answer
43 views

must always reload captcha to create a new account

In my webshop https://www.agoshop.at when I want to create a new account at https://agoshop.at/customer/account/create/ I must first reload the captcha to create a new account otherwise I will get ...
0 votes
2 answers
29 views

I want to create new account after place an order.but Database is not saving any data

public function execute(\Magento\Framework\Event\Observer $observer) { $email = $observer->getEvent()->getData('email'); $address = $observer->getEvent()->getData('address'); ...
user avatar
0 votes
1 answer
151 views

while creating customer account in magento 2 it shows "we can't save the customer"

1 exception(s): Exception #0 (ReflectionException): Class Mageplaza\CustomerApproval\Model\Config\Source\AttributeOptions does not exist
0 votes
1 answer
30 views

Magento 2 - Create new order number after updating an order

Create new order number after updating an order. When order 0000123 was edited, magento created order 0000138 instead of 0000123-1
  • 1
0 votes
1 answer
725 views

Create Product at Magento 2.3.3 Using REST in C#

I'm trying to create simple Product by Rest Api status code is ok Although I can not see the product in Magento2, Here is my code : Token = this.GetAdminToken("admin", "password"); var request = ...
0 votes
1 answer
549 views

What does "Associate To Website" mean?

In Magento 1.9 Customers > Add New > Account Information What does "Associate To Website" field mean? What's the difference between "Admin" and "Main Website"?
  • 159
1 vote
1 answer
569 views

Magento 2 EE | How to create/update new record in magento_customerbalance_history table?

I am trying it as: Using the collection \Magento\CustomerBalance\Model\Balance\HistoryFactory $historyFactory As $model = $this->_historyFactory->create(); //$model->setId(2); $...
  • 1,581
2 votes
1 answer
643 views

How to insert specific invoice items in sales_invoice_item Table?

Actually, I created a multi-vendor site. I did most of the things but now am stuck in invoice creation. I filter the invoice items in the New Invoice page shown in the screenshot In this order, ...
  • 1,600
0 votes
1 answer
2k views

invalid create method

I have a model, I call it in a block and when I use the create method I get an error saying: Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid method Vendor\Namespace\Model\...
2 votes
1 answer
386 views

Using the Mage_Sales_Model_Order_Shipment_Api create() method to create a new shipment

I am making a connector for Magento, where orders from Magento are pushed into our system, then get shipments created that need to be pulled back into Magento and converted to the right format. In ...
3 votes
0 answers
58 views

How the guest order is mapped with the customer who is registered in success page in magento 2

How the guest order details are mapped with the customer who is registered by clicking Create Account button in the success page in magento 2.
  • 2,490
0 votes
0 answers
403 views

How to add group in custom registration form in magento 2

In the frontend signup, how to add a group in customer registration form in Magento 2.2.2 See the screenshot : https://prnt.sc/jsuu4a I have set the default group to be Please select in the backend:...
0 votes
1 answer
647 views

Magento 2. Duplicate firstname, lastname, email inputs on customer account create frontend

I have a problem on customer account create form on frontend. As it can be seen in the screenshot provided. First Name, Last Name and Email fields are duplicated. Where is the logic that generates ...
0 votes
0 answers
168 views

Magento 2.2.1 Account Creation Error

When a user clicks 'Create and Account' from the top links, it successfully renders the account creation page. However, when filling out the details (i.e. 'First Name', 'Middle Name', 'Last Name', ...
  • 85
1 vote
0 answers
95 views

Should I build a website magento from scratch for my online store? [closed]

I know Magento is an open-source e-commerce platform written in PHP with other. The software was originally developed by Varien, Inc, a US private company headquartered in Culver City, California, ...
1 vote
1 answer
825 views

Could not create an acl object: Role '9' - how to resolve this?

Something like this happend when I'm trying to login to backend: {"0":"Could not create an acl object: Role '9' not found","1":"#0 /var/www/html/MAGENTO_HELPA/generated/code/Magento/Framework/...
3 votes
1 answer
5k views

Magento 2. Create customer account programmatically with no password and confirmation required

Context: Account Confirmation is set to required from backend. I'm creating a new customer account using \Magento\Customer\Model\AccountManagementFactory::createAccount() method. $email = "...
2 votes
2 answers
14k views

Magento 2 : How to Create Custom Header and Footer

I am creating new header.phtml and footer.phtml and store into app/design/frontend/<vendor_theme>/mytheme_name/theme_layout/template/html. so how to add new header and footer in magento/blank ...
  • 21
0 votes
0 answers
64 views

Creating a category programmatically using category factory, category data gets created in DB, but category is not visible in admin

Pretty much self-explanatory. I create a category model using category factory and then use the ->save method to save the category. I can see some data created, along with catalog_category_entity, ...
0 votes
0 answers
861 views

Magento 2: How to setup ReCaptcha on Registration form and forgot password form?

Anyone know the best method to activate ReCaptcha on Customer registration form? and Forgot Password form? any plugin or any class snippet can help?
2 votes
3 answers
4k views

magento2: add static block to header menu

My Categories are displayed in my Header Main menu. Now I want to add another link( called 'about us') after the last category in my header. I plan to create a static cms block -> in it's content put ...
1 vote
0 answers
448 views

Magento Backend create order get blank white screen

I have created magento website in version Magento ver. 1.9.2.4. From manage customer=>edit customer=>create order at that time just white blank screen appear how can i solve this issues. I have ...
3 votes
2 answers
1k views

Magento 2.1.1- i18n:collect-phrases not working

I tried to create a translation dictionary for my whole magento site by using the following command: php magento i18n:collect-phrases -o '/var/www/html/kikinben2/app/i18n/alothemes/bn_bd/bn_BD.csv' -...
  • 125
0 votes
1 answer
340 views

how to one product two types tax include?

How to one product two types tax (VAT and CST) include on order edit page - admin panel. Actually I have one product add on VAT and CST tax but admin panel not showing on two type taxes.
  • 1
1 vote
1 answer
493 views

Unable to create product programmatically

I'm trying to create a simple product programmatically in Magento CE 2.1 but I get this error : Exception #0 (Magento\Framework\Exception\CouldNotSaveException): Unable to save product The product ...
0 votes
0 answers
984 views

Magento 2 create customer programmatically not working

I am trying to add customer data programmatically but it's not saving from the controller(override core controller) <?php namespace ConversionBug\ExitIntent\Controller\Account; class Index ...
  • 976
1 vote
1 answer
24 views

Can't find where to start making my newsletters

I am using Magento ver. 1.9.2.4, can't find where to start making my newsletters
0 votes
1 answer
74 views

Shipment create not working programmatically

I am using below code to create shipment programmatically. $shipment = Mage::getModel('sales/service_order', $order)->prepareShipment($qty); $shipment->register(); $shipment->sendEmail(true)-...
1 vote
2 answers
633 views

Create new containers and move inside others

How do I create a new container referencing a parent container and move inside other containers. What I try <referenceContainer name="content"> <container name="product.container" ...
  • 907
0 votes
1 answer
207 views

Get if product created by QuickCreate of Configurable in Observer

Have an environment in which I can only shoot a certain method if the product is simple or configurable (when it is a simple put the son of a configurable I can not shoot), the problem that when I the ...
1 vote
1 answer
824 views

Getting an error "No date part in '' found." while creating an product programatically

I am trying to create an virtual product programatically by using below code.When I execute this script from root of the store I am getting an error : No date part in '' found. require_once('app/...
2 votes
2 answers
6k views

Programmatically setting a customers website id

Could someone please advise why when adding a customer via an external script the website and store values are ignored and the customer is always assigned to "admin" and not to "main website". I ...
  • 2,519
1 vote
1 answer
675 views

Sales Order On Order Create Custom attribute - Admin Page

On the Sales > Order > Create Order I would like to add a serial number of a product. Anyone any idea how to achieve this?
  • 153
1 vote
3 answers
912 views

Magento Adminhtml createblock() Form 'Mage_Core_Exception' Ivalid Block Type

I want to create my own admin site. config.xml : <config> <modules> <Mymodule_Test> <version>0.1.0</version> </Mymodule_Test> ...
2 votes
1 answer
53 views

Multilanguage descriptions of a product

I have a store with 3 languages (fr, nl, uk). When I create or edit a product I have to switch from store view if I want to edit the description in each language. Each time I get the popup window with ...
4 votes
3 answers
10k views

How To Set Product URL Key OR Redirect URL in PHP

So I am creating a Magento product when I call this if statement and it returns false, that all works... I just want to create the URL or create a URL redirect for the product in the same statement ...
  • 281
1 vote
0 answers
37 views

how to create new module with admin description field on product page magento [closed]

I want to know how to add new custom module on the product view page. Please give me some suggestion how it will be possible .
  • 41
3 votes
3 answers
5k views

how to add new custom tab in magento product page

I want to know how to add new custom tab on the product view page. Like: Description, Tags, Reviews. Please give me some suggestion how it will be possible .
  • 41
-2 votes
2 answers
364 views

How to create new tab on magento product page step by step [duplicate]

Any one please tell me How to create new tab on magento product page step by step.
  • 1
0 votes
3 answers
2k views

Remove Required field on Customer Create Account

We have a problem with our create a account page. Even when all field are filled in we still get a message: "****" is a required field. The page where we get this error is: http://oolabooshop.com/...
  • 69
5 votes
2 answers
3k views

No payment method are dispaying during creating order from backend

I tried to create an order from the backend, but in the payment method, I can't see any information of the existing payment methods like the attached picture.
  • 51
1 vote
2 answers
2k views

Account Creation "/createpost/" Service Unavailable on production, works on local

I am currently having an issue with my server where creating a customer account gives this error, the account is created but it still shows this error instead of a confirmation page/redirect to ...
  • 344
3 votes
1 answer
20k views

Customer Account Registration Form

I am relatively new to magento. I would like to place customer account registration page in two columns. Preferably, left side with First Name, Last Name, Email and password. Right Side, Address ...
  • 197
0 votes
1 answer
617 views

Magento API customer.create -> cart_product.moveToCustomerQuote

I created a User using the Magento API. I then created a shopping cart and want to move this cart to the created costumer, but this errors as Customer's quote does not exist. Moving the cart to an ...
  • 1
0 votes
3 answers
2k views

Create customer with REST API - password does not work

i'm creating customers with the REST-API and trying to give each customer an initial password. Problem is, that when the customers try to log on to the shop with their mail-address, loggin in is ...
6 votes
4 answers
10k views

What is the best way of creating a new table in Magento?

I have seen two different ways of creating a new table in Magento. I want to figure out which one is the best? And why there are two ways? What are the differences between them? First way (...
  • 9,885
1 vote
3 answers
2k views

How do I observe which order created by admin(magento backend) or customer(frontend)

How to observe who create new order in Backend. Should I add new grid or new status.