
Magento modification required - attributes, product page..
- or -
Post a project like this£100(approx. $136)
- Posted:
- Proposals: 9
- Remote
- #3826582
- Expired
Designer & Developer|AI Automations||WordPress|Shopify|App Development|Data Scraping

Adobe Commerce| Magento 2 Certified Developer | Consultant (ECommerce - B2B Expert)
♛ UK'S No.1 - Top Rated E-Commerce, Shopify, Magento Certified, Laravel, AngularJS, Wordpress, WooCommerce, OpenCart Developer with Great reviews

Top rated PHP Web Development | WordPress | Magento | Drupal | OpenCart | PrestaShop | Joomla

We are Web, Mobile Apps and Digital Marketing Agency (PHP, .Net, MEAN, iOS, Android, Ionic-Cordova)

38114786608173781714746694534271711734569105075456489991153537
Description
Experience Level: Entry
Your task is to do the following:
1. Create two new product attributes called x-axis and y-axis.
2. On the product page check to see if the product has values for both of these attributes.
3.If so display the multiplication table in a tab using the values
If not, do not display the tab or grid
4.When the product is bought, a comment should be added to the order stating the values of the x and y axis, if they exist
The following points apply and should always be followed.
Magento provide their own Programming Best Practices that should be followed at all times.
The code should be valid according to the coding standards Coding Standards
Code should be written in a testable manner
The code should adhere to the technical guidelines as much as possible
In addition, all PHP code should be strictly typed, strict comparisons should always be used, and unless prohibited by class contracts strict parameter and return types must be used.
Fully qualified class names should always be imported and short class names used
The completed code should run without error in all cases.
Deprecated or legacy functions denoted by Magento should not be used
Where necessary, code comments should be used
Method and class annotations should be used where necessary to describe parameters and return types
Main Requirements:
Your task is to do the following
Create two new product attributes called x-axis and y-axis
On the product page check to see if the product has values for both of these attributes
If so display the multiplication table in a tab using the values
If not, do not display the tab or grid
When the product is bought, a comment should be added to the order stating the values of the x and y axis, if they exist
To help complete the task there is a template repository that you can use.
This will automatically run the tests that you create and preform static analysis on the code each time you push a commit. You should use this to create a private repository in github and then share that with us when complete.
Module Setup:
The module should run successfully on the latest version of Magento 2
Coding standards and guidelines should be aligned with the latest available Magento version.
All code should be placed in a module called
NathanCommerce/MultiplicationTables
Attribute Management:
The attributes should be created using a data patch
The values should be validated to ensure that they are either
Both set as positive integers
Neither are set
If neither of these conditions are met then an error message should be displayed, and the product is not saved
Product Page:
If both attributes are present a tab will be displayed
This tab will be called Multiplication Table by default
When clicked, a multiplication table will be displayed using the values from the product
If the values are not present, or the values are invalid, then no tab will be displayed and no error will be displayed
Order Comment:
This should be handled using an event listener
The comment should only be added once
It should say $productName was ordered with these dimensions $xAxis by $yAxis
If there are multiple products in the order with the attributes, then each product should appear on a new line within a single comment
Module Configuration:
Within the Configuration menu in the admin, there will be a tab called Nathan Commerce
Within this there will be a section called Multiplication Tables
This section will contain these options
The ability to enable and disable the module. When disabled no multiplication tables should be displayed on the front end and orders should not be affected by the multiplication code when placed.
The ability to change the title of the tab on the product page
Documentation
You should create, in Markdown format as a README.md file in the root of your module, a set of instructions that cover both developer and user level documentation. * How to install it * How to configure it * How to run the tests
Basic Testing:
Unit tests should be created for parts of the code that are free of dependencies. These should cover all paths through the code under test and ensure that it gracefully handles success and failure conditions.
Integration Testing:
The module should be mainly covered with Integration Tests
Other test types can be created if useful
Fixtures should be used where appropriate.
Feel free to make use of our testing module to help with this
Tests should pass both with and without the TESTS_CLEANUP flag being set
They should confirm that the code is able to do what is asked when given the correct inputs
They should also confirm that the code is able to handle things going wrong gracefully
Additional Static Checks:
Magento ships with additional static checks alongside the Code Sniffer rules used for the coding standards. The following tools should pass using the Magento standards.
Static Code Analysis Documentation
Although this sounds a lot of work, I have been very detailed. 3/4hrs tops.
1. Create two new product attributes called x-axis and y-axis.
2. On the product page check to see if the product has values for both of these attributes.
3.If so display the multiplication table in a tab using the values
If not, do not display the tab or grid
4.When the product is bought, a comment should be added to the order stating the values of the x and y axis, if they exist
The following points apply and should always be followed.
Magento provide their own Programming Best Practices that should be followed at all times.
The code should be valid according to the coding standards Coding Standards
Code should be written in a testable manner
The code should adhere to the technical guidelines as much as possible
In addition, all PHP code should be strictly typed, strict comparisons should always be used, and unless prohibited by class contracts strict parameter and return types must be used.
Fully qualified class names should always be imported and short class names used
The completed code should run without error in all cases.
Deprecated or legacy functions denoted by Magento should not be used
Where necessary, code comments should be used
Method and class annotations should be used where necessary to describe parameters and return types
Main Requirements:
Your task is to do the following
Create two new product attributes called x-axis and y-axis
On the product page check to see if the product has values for both of these attributes
If so display the multiplication table in a tab using the values
If not, do not display the tab or grid
When the product is bought, a comment should be added to the order stating the values of the x and y axis, if they exist
To help complete the task there is a template repository that you can use.
This will automatically run the tests that you create and preform static analysis on the code each time you push a commit. You should use this to create a private repository in github and then share that with us when complete.
Module Setup:
The module should run successfully on the latest version of Magento 2
Coding standards and guidelines should be aligned with the latest available Magento version.
All code should be placed in a module called
NathanCommerce/MultiplicationTables
Attribute Management:
The attributes should be created using a data patch
The values should be validated to ensure that they are either
Both set as positive integers
Neither are set
If neither of these conditions are met then an error message should be displayed, and the product is not saved
Product Page:
If both attributes are present a tab will be displayed
This tab will be called Multiplication Table by default
When clicked, a multiplication table will be displayed using the values from the product
If the values are not present, or the values are invalid, then no tab will be displayed and no error will be displayed
Order Comment:
This should be handled using an event listener
The comment should only be added once
It should say $productName was ordered with these dimensions $xAxis by $yAxis
If there are multiple products in the order with the attributes, then each product should appear on a new line within a single comment
Module Configuration:
Within the Configuration menu in the admin, there will be a tab called Nathan Commerce
Within this there will be a section called Multiplication Tables
This section will contain these options
The ability to enable and disable the module. When disabled no multiplication tables should be displayed on the front end and orders should not be affected by the multiplication code when placed.
The ability to change the title of the tab on the product page
Documentation
You should create, in Markdown format as a README.md file in the root of your module, a set of instructions that cover both developer and user level documentation. * How to install it * How to configure it * How to run the tests
Basic Testing:
Unit tests should be created for parts of the code that are free of dependencies. These should cover all paths through the code under test and ensure that it gracefully handles success and failure conditions.
Integration Testing:
The module should be mainly covered with Integration Tests
Other test types can be created if useful
Fixtures should be used where appropriate.
Feel free to make use of our testing module to help with this
Tests should pass both with and without the TESTS_CLEANUP flag being set
They should confirm that the code is able to do what is asked when given the correct inputs
They should also confirm that the code is able to handle things going wrong gracefully
Additional Static Checks:
Magento ships with additional static checks alongside the Code Sniffer rules used for the coding standards. The following tools should pass using the Magento standards.
Static Code Analysis Documentation
Although this sounds a lot of work, I have been very detailed. 3/4hrs tops.
Nathan F.
100% (15)Projects Completed
13
Freelancers worked with
10
Projects awarded
55%
Last project
13 Apr 2022
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies