- Posts: 70
- Thank you received: 3
Cart to Quotation
4 years 11 months ago #336765
by virusys
Cart to Quotation was created by virusys
My users sometimes need to identify the items they need then submit a quotation to their purchasing department. Then the purchasing department contacts us with an order. They cannot order online.
How can I set this up so that maybe a payment option is "Quotation" and the "Place Order" button is replaced with a "Send Quotation"? (or anything similar).
I want users to be able to generate their own quotations online (including shipping expenses) rather than using our time to do it manually.
Seems like something other people would want as well.
How can I set this up so that maybe a payment option is "Quotation" and the "Place Order" button is replaced with a "Send Quotation"? (or anything similar).
I want users to be able to generate their own quotations online (including shipping expenses) rather than using our time to do it manually.
Seems like something other people would want as well.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336773
by nicolas
Replied by nicolas on topic Cart to Quotation
Hi,
Usually merchants will create a payment method with the plugin "collect on delivery" and rename it "Request a quote" via the menu System>Payment methods.
That way, during the checkout the customer can either select the normal payment method or that "request a quote" option before finishing his checkout.
You can even set a specific order status in the payment method, that you first created in the System>Order statuses menu so that you know it is a quote.
Usually merchants will create a payment method with the plugin "collect on delivery" and rename it "Request a quote" via the menu System>Payment methods.
That way, during the checkout the customer can either select the normal payment method or that "request a quote" option before finishing his checkout.
You can even set a specific order status in the payment method, that you first created in the System>Order statuses menu so that you know it is a quote.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336785
by virusys
Replied by virusys on topic Cart to Quotation
Thanks Nicolas!
That sounds like it would work well. I'll try that.
That sounds like it would work well. I'll try that.
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336836
by virusys
Replied by virusys on topic Cart to Quotation
OK - looks good.
I do need to adjust the post-order messages however.
How can I do that?
"Your order is now complete.
The amount of $274.00 will be collected upon delivery of your order (4643)
You can now access your order here.
Thank you for your purchase."
I do need to adjust the post-order messages however.
How can I do that?
"Your order is now complete.
The amount of $274.00 will be collected upon delivery of your order (4643)
You can now access your order here.
Thank you for your purchase."
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336843
by nicolas
Replied by nicolas on topic Cart to Quotation
Hi,
You can use translation overrides to modify these texts:
www.hikashop.com/download/languages.html#modify
You can use translation overrides to modify these texts:
www.hikashop.com/download/languages.html#modify
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336884
by virusys
Replied by virusys on topic Cart to Quotation
Perfect.
Where do I control what messages are shown?
I'm thinking that if I change these, they will also change for regular orders.
Can I adjust the messages shown for ONLY a quotation order?
"Your [strike]order[/strike] quotation (4643) has been emailed to you.
[strike]The amount of $274.00 will be collected upon delivery of your order[/strike]
[strike]You can now access your order here.
[/strike][strike]Thank you for your purchase."[/strike]
Where do I control what messages are shown?
I'm thinking that if I change these, they will also change for regular orders.
Can I adjust the messages shown for ONLY a quotation order?
"Your [strike]order[/strike] quotation (4643) has been emailed to you.
[strike]The amount of $274.00 will be collected upon delivery of your order[/strike]
[strike]You can now access your order here.
[/strike][strike]Thank you for your purchase."[/strike]
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336891
by nicolas
Replied by nicolas on topic Cart to Quotation
Hi,
If you want to change these without changing the same texts for other payment methods, then you need to copy the file plugins/hikashoppayment/collectondelivery/collectondelivery_end.php to templates/YOUR_TEMPLATE/hikashoppayment/collectondelivery_end.php
And then you can modify the HTML/PHP code there for that payment method only.
For example, you could change ORDER_IS_COMPLETE to ORDER_IS_COMPLETE2
And then add a translation override for ORDER_IS_COMPLETE2 in your language file where you could write whatever you wanted only for that payment method.
If you want to change these without changing the same texts for other payment methods, then you need to copy the file plugins/hikashoppayment/collectondelivery/collectondelivery_end.php to templates/YOUR_TEMPLATE/hikashoppayment/collectondelivery_end.php
And then you can modify the HTML/PHP code there for that payment method only.
For example, you could change ORDER_IS_COMPLETE to ORDER_IS_COMPLETE2
And then add a translation override for ORDER_IS_COMPLETE2 in your language file where you could write whatever you wanted only for that payment method.
The following user(s) said Thank You: virusys
Please Log in or Create an account to join the conversation.
4 years 11 months ago #336925
by virusys
Replied by virusys on topic Cart to Quotation
Thanks for the detailed help! I'll get to work on it.
Please Log in or Create an account to join the conversation.
Time to create page: 0.298 seconds