- Posts: 52
- Thank you received: 6
order - Coupon - Administrator
4 years 4 months ago #342120
by dhusband
order - Coupon - Administrator was created by dhusband
-- HikaShop version -- : 4.6.0
-- Joomla version -- : 3.10.9
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Firefox
If you process an order in the administrator view and apply a coupon, the calculation is not undertaken. You have to manually calculate and add to the field.
Can the application of coupons be automated in the administrator section?
Thank you
David
-- Joomla version -- : 3.10.9
-- PHP version -- : 7.4.29
-- Browser(s) name and version -- : Firefox
If you process an order in the administrator view and apply a coupon, the calculation is not undertaken. You have to manually calculate and add to the field.
Can the application of coupons be automated in the administrator section?
Thank you
David
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342123
by nicolas
Replied by nicolas on topic order - Coupon - Administrator
Hi,
That's diffiult. The calculation of the coupon can be based on many things, like the categories of the products, and it can use only the price of the products in the category selected in the coupon, or all the products in the order, also the behavior setting means that it also takes into account the discounts applied on the products in the order (and the discounts applied on the products might have been deleted or modified since the order was created), taxes, etc. And to do all of this, it bases itself on a cart object, not an order object. So it's probably possible to do it, but it probably won't take into account all the cases and thus it might give a wrong amount in some cases without you kowning unless you calculate it each time...
Plus, it's the same for shipping fees and payment fees. These also require a cart object and complex things to be handled to calculate a shipping/payment fee accurately. And if we were to do a coupon solution (which wouldn't work great) it would mean also doing a shipping/payment solution (which also wouldn't work great).
So that's basically why it's like that and you need to manually enter the value you want.
That's diffiult. The calculation of the coupon can be based on many things, like the categories of the products, and it can use only the price of the products in the category selected in the coupon, or all the products in the order, also the behavior setting means that it also takes into account the discounts applied on the products in the order (and the discounts applied on the products might have been deleted or modified since the order was created), taxes, etc. And to do all of this, it bases itself on a cart object, not an order object. So it's probably possible to do it, but it probably won't take into account all the cases and thus it might give a wrong amount in some cases without you kowning unless you calculate it each time...
Plus, it's the same for shipping fees and payment fees. These also require a cart object and complex things to be handled to calculate a shipping/payment fee accurately. And if we were to do a coupon solution (which wouldn't work great) it would mean also doing a shipping/payment solution (which also wouldn't work great).
So that's basically why it's like that and you need to manually enter the value you want.
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342153
by dhusband
Replied by dhusband on topic order - Coupon - Administrator
That all makes sense.
Is there a way an administrator can do a cart on behalf of someone?
Thank you for all the support.
Is there a way an administrator can do a cart on behalf of someone?
Thank you for all the support.
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342156
by nicolas
Replied by nicolas on topic order - Coupon - Administrator
Hi,
Well, there are several ways to go about it:
- go on your frontend, select the products and go through the checkout normally. And then, in your backend, create a user account for the user if necessary and then change the user in the order. You'll be able to select the addresses from the user automatically if you want.
- You can create new carts and convert them into orders via the Customers>Carts menu in the backend.
- You have this plugin extensions.joomla.org/extension/login-as-user/ which allows you to access the frontend while being logged in with someone else's account so that you can place an order as someone else.
Well, there are several ways to go about it:
- go on your frontend, select the products and go through the checkout normally. And then, in your backend, create a user account for the user if necessary and then change the user in the order. You'll be able to select the addresses from the user automatically if you want.
- You can create new carts and convert them into orders via the Customers>Carts menu in the backend.
- You have this plugin extensions.joomla.org/extension/login-as-user/ which allows you to access the frontend while being logged in with someone else's account so that you can place an order as someone else.
Please Log in or Create an account to join the conversation.
4 years 4 months ago #342169
by dhusband
Replied by dhusband on topic order - Coupon - Administrator
That is all really useful. I had forgotten about the cart in the backend.
Thank you
Thank you
Please Log in or Create an account to join the conversation.
Time to create page: 0.190 seconds