Find Jobs
Hire Freelancers

Coding problem joomla

$30-100 USD

已完成
已发布大约 15 年前

$30-100 USD

货到付款
I am trying to modify the way virtuemart (shopping cart module in joomla) adds its attribute prices to a product. At the moment you can add or subtract a price to the product which is then multiplied by the quantity amount. Eg: Product Playstation 3 is $700 If they add an attribute, Playstation Controller $70 And they want 5 playstation’s all up, the calculation is =(700 + 70) x 5. What we are trying to do is to have the attribute as a fixed cost ontop of the product cost so the equation will be =(700 x 5) + 70. When you add the attribute in the back end you add a symbol (+), (-) or (=) depending on if you are adding or subtracting. So far I have made it to accept an extra symbol “^?? which will be used for a fixed price on-top of the product cost post quantity multiplication. The files to change the calculating pricing are listed in the administrator/component/virtuemart/classes The calculation for attributes is in [login to view URL] file under lines 1799 and 1800, I have added these lines myself but still not getting desired results. What i need the equation to be for line 1800 is either: (product price X quantity) + Attribute; or (product price +(Attribute / Quantity)) X Quantity So far the fields I know are: Product price = $price['product_price'] Attribute value = $modifier What I need is the field that indicates the selected quantity. For testing purposes I am using the product labeled “aa?? under products/standard ncr Logins and passwords provided after confirmed price and agreement start immediately David Birch [login to view URL]
项目 ID: 3852392

关于此项目

3提案
远程项目
活跃15 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
See private message.
$25.50 USD 在1天之内
5.0 (7条评论)
2.1
2.1
3威客以平均价$44 USD来参与此工作竞价
用户头像
See private message.
$42.50 USD 在1天之内
5.0 (84条评论)
7.9
7.9
用户头像
See private message.
$63.75 USD 在1天之内
5.0 (169条评论)
7.2
7.2

关于客户

AUSTRALIA的国旗
Australia
4.8
9
会员自8月 8, 2007起

客户认证

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