Закрыт

Write a little bit of code for my custom magento2 system

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

Навыки: Magento, Linux, PHP, Magento 2

Показать больше: translate little bit french, write game nim code servlet, usb write protect source code, code custom header invisionfree, java code custom hotmail, please let know little bit think choose project, html code custom music players websites, write java script code odd numbers, little bit text, write landing page code, write mips assembly code inside, write ipod app code, write information file code javascript, write link exchange code, google maps code custom markers, html code custom vinyl lettering, merging oscommerce code custom design, write jpeg source code linux, write code custom keyboard android

О работодателе:
( 1 отзыв ) Liverool, United Kingdom

ID проекта: #28959624

25 фрилансеров(-а) готовы выполнить эту работу в среднем за £131

sapotacorp

Hi sir, If you want then we can have a 1-1 discussion on FL chat. kindly let us know. We have finished 276 Magento projects. Example: [login to view URL], [login to view URL], vps-11c0074b.vps.ovh.net. I helped 37 cl Больше

£120 GBP за 2 дней(-я)
(1172 отзывов(-а))
9.1
(825 отзывов(-а))
9.0
(616 отзывов(-а))
8.0
(176 отзывов(-а))
7.4
sankhalainfosol

Hello Team, We can give you stand alone script which allow you to add simple product with custom option in the cart. We need to pass parameter in order to identify the product in question. Ready to start working on it Больше

£50 GBP за 1 день
(215 отзывов(-а))
7.3
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
zyeloncomputech

Hi sir, Thank you for giving opportunity for biding... we have gone through your requirements and we can do your custom magento2 system development stuff for ADD SIMPLE PRODUCT (add the product to the quote with sel Больше

£250 GBP за 5 дней(-я)
(216 отзывов(-а))
7.0
rehmatclick

Hi there, ★★★ PHP / Magento 1 & 2 Expert ★★★ 5+ Years of Experience ★★★ I've read requirements and ready to help you with your custom website. Websites we built with Magento: ✔ [login to view URL] ✔ https://imogene Больше

£100 GBP за 3 дней(-я)
(191 отзывов(-а))
7.1
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
fenilrana129

Hello, I can definitely help to write code to add product to quote with option, I am an INDIVIDUAL freelancer so I can also start work at the same moment. I am a full-stack Magento 1/2 developer having "Backend" skil Больше

£100 GBP за 2 дней(-я)
(73 отзывов(-а))
6.1
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
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
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
singhalmohit123

Seneior Certified Magento Professional Hi There , Hope you are doing well. I can help you to help you wrote code for add products in cart. I have rich experience of Magento2 customization and development. Plea Больше

£42 GBP за 1 день
(14 отзывов(-а))
4.5
webubbinc

This Is A Customized Proposal For -- Write a little bit of code for my custom magento2 system NOT A COPY PASTE Hi, I am an expert Magento and PHP developer, I am confident to add some code to add a product to the cart Больше

£120 GBP за 3 дней(-я)
(12 отзывов(-а))
4.1
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