Write a little bit of code for my custom magento2 system

종료 등록 시간: 3년 전 착불
종료 착불

OK so I am a php developer but I am struggling with a simple thing in magento2 I have written a custom php app for my client and I am struggling to add some code to add a product to the cart with a custom option .

Here is the code so you can see :

############ ADD SIMPLE PRODUCT NO OPTIONS

if ($_GET['process'] == 'add') {

$productId = $_GET['PID'];

$product = $objectManager->create('\Magento\Catalog\Model\Product')->load($productId);

$quoteItem = $quote->addProduct($product);

$quoteItem->setQty($_GET['QTY']);

//// your job is to add some code here to add the product to the quote with selected options by id !!!!!

if($CP>0) {

$quoteItem->setIsSuperMode(true);

$quoteItem->setCustomPrice($CP);

$quoteItem->setPrice($CP);

$quoteItem->setFinalPrice($CP);

$quoteItem->setData('price', $CP);

$quoteItem->setOriginalCustomPrice($CP);

}

$quote->collectTotals();

$quote->save();

}

Once I find someone I will give them full access to the system to work on it. If you are any good I will for sure be able to give you more work too

마젠토 리눅스 PHP Magento 2

프로젝트 ID: #28959624

프로젝트 소개

25 건(제안서) 재택 근무형 프로젝트 서비스 이용 중: 3년 전

이 일자리에 대한 프리랜서 25 명의 평균 입찰가: £131

ambientinfotech

Dear Client, Greetings!! We have read your project description "a little bit of code for my custom magento2 system " We are familier and work on all the versions of Magento and currently updated with Magento 2.3.5 기타

£135 GBP (3일 이내)
(341 리뷰)
7.6
wmkosc

I have been magento developer for over 7 years and have much experience in this field. I read your requirement and really interested, I can start working immediately, I am sure I can finish it fast and make it work per 기타

£100 GBP (1일 이내)
(168 리뷰)
6.9
magesuperltd

Hello, Is this for promo or fixed for specific products? I have over 9 years of experience in eCommerce Development and over 6 years in Magento. Looking forward to hearing from you. Sincerely, Ibrahim Saleh MageSup 기타

£150 GBP (1일 이내)
(70 리뷰)
6.7
crystalhitesh

Hey there, I have read your project description carefully as per that you need custom coding for your ongoing website. As a Magento 2 Designer/Developer are expert at offering:- => * Web Design & Development, => * 기타

£200 GBP (3일 이내)
(147 리뷰)
6.7
inviSystems

Dear Client, I have understood your entire requirement and I will do the code for your product adding page. I have experience with personal scripts in PHP, JS, and CSS. I have completed around 20+ projects of personal 기타

£120 GBP (4일 이내)
(26 리뷰)
5.6
elregresodejosec

Hello. I am a Magento expert I can help you as well I'll provide you good result Please contact me best regards Jose

£200 GBP (7일 이내)
(6 리뷰)
3.8
itSoftProjects

Hi, I have read your requirement and i can do it. I have more than 5 years of experience in Magento and i did many customization. If you would like to work with me then we will discuss further on chat. Thank you.

£200 GBP (5일 이내)
(11 리뷰)
3.9
ExpertWebCoder1

Hello Sir, Magento Expert is here. * I'm Magento Expert & I can surely make changes & add code to add the product to the cart. * Can you please share your site URL? * I have 4+ Years of experience in Magento & I can s 기타

£100 GBP (1일 이내)
(12 리뷰)
3.3
mzdesmag

hi, I have read the details of the project. I have completed many simple and complex projects with Visual Studio and C++, some linux-things too, I also do JAVA tasks on eclipse and netbeans. I have the knowledge of how 기타

£135 GBP (7일 이내)
(1 리뷰)
3.0
HoangKenny1994

3 years ++ in Magento. I can do anything in Magento in the shortest time. Please just bid me. thank you

£20 GBP (1일 이내)
(2 리뷰)
2.2
m2developer

Dear Client, I'm a Senior Magento developer. I have 5+ years of successful experience in Magento 2 e-Commerce. I have developed a wide range of Magento e-Commerce websites using Magento, PHP, HTML, CSS, jQuery and MyS 기타

£111 GBP (3일 이내)
(2 리뷰)
0.9
softwaremanager

I am software project manager and I will develop your task in lowest rates so feel free to contact me . your satisfaction is guaranteed

£222 GBP (21일 이내)
(0 리뷰)
0.0
nhthaison

Hi client, Maybe I just joined Freelancer.com but I'm not an amateur with the Magento 2 platform. I'm a PHP developer with 3 years+ of experience on Magento 2, especially an Adobe Certified Professional—Magento Commer 기타

£80 GBP (1일 이내)
(0 리뷰)
0.0