- Posts: 4
- Thank you received: 0
Creating a TBD Shipping Cost
9 years 4 months ago #269398
by S1melan
Creating a TBD Shipping Cost was created by S1melan
Hi, we ship a lot of items with many different sizes and weights. Is there a method that I can use to create a "to be determined" shipping cost?
Please Log in or Create an account to join the conversation.
9 years 4 months ago #269408
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Replied by Jerome on topic Creating a TBD Shipping Cost
Hello,
You just have to use a manual shipping method.
But you have to configure your payment methods so the customer cannot pay his order but just finalize it with a manual payment method like "collect on delivery" ; so you will have the possibility to edit the order to change the shipping price and let the customer finalize the order once completed.
Regards,
You just have to use a manual shipping method.
But you have to configure your payment methods so the customer cannot pay his order but just finalize it with a manual payment method like "collect on delivery" ; so you will have the possibility to edit the order to change the shipping price and let the customer finalize the order once completed.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 3
- Thank you received: 0
6 years 5 months ago #318065
by ronaldkuijper
Replied by ronaldkuijper on topic Creating a TBD Shipping Cost
when using this method - not filling out the shippingcost also triggers the "free shipping" text
I use that method as wel - so how do I create a second than, either without this automatically generated "free shipping",text or a different text?
thanks in advance
I use that method as wel - so how do I create a second than, either without this automatically generated "free shipping",text or a different text?
thanks in advance
Please Log in or Create an account to join the conversation.
6 years 5 months ago #318075
by nicolas
Replied by nicolas on topic Creating a TBD Shipping Cost
Hi,
Well, you can use a translation override to change that "free shipping" text to TBD for example, or if you want to display 0.00 instead, you can enter a price of 0.001 in your shipping method.
Well, you can use a translation override to change that "free shipping" text to TBD for example, or if you want to display 0.00 instead, you can enter a price of 0.001 in your shipping method.
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 3
- Thank you received: 0
6 years 5 months ago #318086
by ronaldkuijper
Replied by ronaldkuijper on topic Creating a TBD Shipping Cost
Hi Thanks
entering 001 resulting in 000 is not the actual situation as it is TBD. TBD is not 0
I use free shipping as well - above a certain amount - so changing the text to TBD is not an option in that case.
I than rather would like to change below in a second option "SHIPPING_TBD" when 0.001 is entered as value
$price_text = '';
if(bccomp($rate->shipping_price,0,5) === 0) {
$price_text = JText::_('FREE_SHIPPING');
$price_text = '';
if(bccomp($rate->shipping_price,0,5) === 0.001) {
$price_text = JText::_('SHIPPING_TBD');
may you can help with an override in this way?
entering 001 resulting in 000 is not the actual situation as it is TBD. TBD is not 0
I use free shipping as well - above a certain amount - so changing the text to TBD is not an option in that case.
I than rather would like to change below in a second option "SHIPPING_TBD" when 0.001 is entered as value
$price_text = '';
if(bccomp($rate->shipping_price,0,5) === 0) {
$price_text = JText::_('FREE_SHIPPING');
$price_text = '';
if(bccomp($rate->shipping_price,0,5) === 0.001) {
$price_text = JText::_('SHIPPING_TBD');
may you can help with an override in this way?
Please Log in or Create an account to join the conversation.
6 years 5 months ago #318091
by nicolas
Replied by nicolas on topic Creating a TBD Shipping Cost
Hi,
Well, if you enter 0.001 for the shipping methods with free shipping, and then change the translation of "free shipping" to "TBD", you'll get TBD for these shipping methods and you'll get 0.00 for your other free shipping methods.
So what I proposed should be ok.
Now if you really want to do what you suggest with code modifications, you can do that in the function getDisplayPrice of the file administrator/components/com_hikashop/helpers/checkout.php
Note however that you'll loose the changes there after each update.
Well, if you enter 0.001 for the shipping methods with free shipping, and then change the translation of "free shipping" to "TBD", you'll get TBD for these shipping methods and you'll get 0.00 for your other free shipping methods.
So what I proposed should be ok.
Now if you really want to do what you suggest with code modifications, you can do that in the function getDisplayPrice of the file administrator/components/com_hikashop/helpers/checkout.php
Note however that you'll loose the changes there after each update.
The following user(s) said Thank You: ronaldkuijper
Please Log in or Create an account to join the conversation.
Time to create page: 0.172 seconds