Creating a TBD Shipping Cost

  • Posts: 4
  • Thank you received: 0
7 years 6 months ago #269398

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.

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
7 years 6 months ago #269408

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,


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.

  • Posts: 3
  • Thank you received: 0
  • Hikashop Business
4 years 6 months ago #318065

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

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 6 months ago #318075

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.

Please Log in or Create an account to join the conversation.

  • Posts: 3
  • Thank you received: 0
  • Hikashop Business
4 years 6 months ago #318086

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?

Please Log in or Create an account to join the conversation.

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
4 years 6 months ago #318091

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.

The following user(s) said Thank You: ronaldkuijper

Please Log in or Create an account to join the conversation.

Time to create page: 0.076 seconds
Powered by Kunena Forum