Find Jobs
Hire Freelancers

PHP small code change (Magento Module)

$10-30 USD

已完成
已发布大约 8 年前

$10-30 USD

货到付款
Hello! It's a very small projecgt, about a 10 minute work for someone who knows Magento and PHP. The issue: We have a payment module for Magento which is sending the product names, prices and quantities separately on each products to the payment company website. You can see the that part of the code below. We want to send only ONE FIXED product name (like "All Products") (we don't need the real product name) ONE QUANTITY and ONE TOTAL PRICE. You can see the code below: /** * set product details * var $i quantity */ $i = 0; foreach ($order->getAllItems() as $item) { if ($item->getParentItemId()) { continue; } $i++; $formValues['item' . $i . '_desc'] = substr($item->getName(), 0, 40); $formValues['item' . $i . '_price'] = number_format($item->getPriceInclTax(), 4, '.', ''); $formValues['item' . $i . '_qty'] = intval($item->getQtyOrdered() + 0.5); }
项目 ID: 9949934

关于此项目

6提案
远程项目
活跃8 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
Hi I have checked the code and I can do it now if you want. Please let me know your decision.. I am waiting for your response Thanks & Regards
$10 USD 在1天之内
5.0 (1条评论)
0.0
0.0
6威客以平均价$36 USD来参与此工作竞价
用户头像
Hello, $formValues['item' . $i . '_desc'] = substr($item->getName(), 0, 40); replace above with :- $formValues['item' . $i . '_desc'] ="All Product"; Thanks
$24 USD 在1天之内
4.8 (268条评论)
7.4
7.4
用户头像
Hi, I am having 8 years of experience in LAMPP technologies. I can start the work right now. Do you have the dev. environment ?. Thanks
$30 USD 在1天之内
0.0 (0条评论)
0.0
0.0
用户头像
Lets deliver now. Please give me login detail. Thanks =====================================================
$20 USD 在0天之内
0.0 (0条评论)
0.0
0.0

关于客户

HUNGARY的国旗
Budapest, Hungary
5.0
8
付款方式已验证
会员自11月 25, 2009起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。