notification email doesn't show shipping method

  • Posts: 24
  • Thank you received: 4
11 years 3 months ago #120140

I've noticed that the notification email that goes to the shopping cart administrator doesn't show the type of shipping the customer has picked. The order notification does say "Shipping Method:" but its right next to just the cost of shipping, it however doesn't suggest to the administrator what shipping the customer has chosen. I'm using the USPS module and if, for example, a customer orders product and chooses to ship via Priority Mail, the only way the administrator would know that is if they log into the system and go through the order. Shouldn't this information be in the email that they receive?

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

  • Posts: 2334
  • Thank you received: 403
11 years 3 months ago #120167

Hi there,

The information display is the right one.
If you want to display the shipping method you'll have to edit the email in Configuration>Email and add something like

echo '<tr><td colspan="'.$colspan.'" style="text-align:right">'.JText::_('HIKASHOP_SHIPPING').' : ';echo $data->order_shipping_name.'</td></tr>';

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

  • Posts: 24
  • Thank you received: 4
11 years 2 months ago #121075

There is no Configuration>Email option for me to edit the email . . . This was something I had a problem with before and was told I needed to "pay more money" in order to have the "feature" of being able to change what emails are sent and how the emails look. This really is a problem. This feature should be built in to all the versions of Hikashop, it's simply a core feature that's almost a deal breaker on every level. Nowhere in the feature list of any of the Hikashop versions does it say that you don't have the ability to control the way the shopping cart system communicates with the customers, and yet, in order to have the ability to do this, I have to purchase the Business edition? I've gone through the feature comparisons and none of my customers need anything that the Business edition has to off above the Essentials edition and yet in order to control email functions I'm going to have to buy it anyways?

If I'm incorrect on this, please let me know where I might be going wrong in finding the Configuration>Email option in my shop . . .

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 2 months ago #121111

Hi,

Eliot forgot to mention that this feature is in HikaShop Business.
He also forgot to said that you can acecss to the email content in the "media/com_hikashop/mail" folder and by creating a copy of the mail with the extension ".modified.php" you create an override.

After that, you are right, the language key for the shipping is the wrong one. The shipping method is not displayed in the email but the shipping price is.
We will fix the content of the email, to display similar data than the invoice. We also have some "issues" in our tracker to rewrite the emails design and improve the email editor. Maybe at this moment we will provide the simple editor in all HikaShop edition and provide the advanced editor in the Business one.

What you can easily do in all HikaShop edition is to change the texts in the email. Like everywhere in HikaShop, we don't use hard coded text but translated text.
The email is not an exception and it uses a lot of translation that you can change and override like you want.

I don't want to make a big Laius on it but, we won't include all features in the free version of HikaShop, we have to pay our employees too.
With the starter edition you can create an e-commerce website and sold your articles. You can also customize your emails, your views, edit the files that you want to edit. HikaShop is open-source so you have the right to access and edit the source code.

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: 24
  • Thank you received: 4
11 years 2 months ago #121129

Thank you for your reply, I appreciate the advice and I will look into making the changes.

I'm a developer too and I understand the need to charge appropriately for your work, and I was not suggesting the inclusion of all the features you offer in the free version. But something as integral as the email system doesn't seem to be a "feature" but more of a core need of the system. And, even if we disagree on that, if it is indeed considered a "feature" then it should be mentioned on your comparison charts for the different versions of your product so we can make educated decisions about our purchases. My customers wouldn't hesitate to pay the extra, but I'm placed into a situation that I either eat the cost of the upgrade or I have to go back to my customer and tell them I made a mistake.

You have a great product, wonderful support and I think the end result is awesome. I'm coming from a background of using some competing components and your's is well worth the investment. None of the issues I've run into have been deal breakers.

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

  • Posts: 24
  • Thank you received: 4
11 years 2 months ago #121136

Back to the original post, I took a look around at the email code and this particular piece of code was already there:

echo '<tr><td colspan="'.$colspan.'" style="text-align:right">'.JText::_('HIKASHOP_SHIPPING').' : ';
echo $data->order_shipping_name.'</td></tr>';

However, the $data->order_shipping_name doesn't seem to contain anything as it is coming out empty. I'm getting the JText showing up as expected, however there is no value next to it. is "order_shipping_name" correct?

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

  • Posts: 82864
  • Thank you received: 13372
  • MODERATOR
11 years 2 months ago #121279

Hi,

Thank you for your understanding.

Regarding your last question, I'm not sure what Eliot suggested as the field order_shipping_name doesn't exist in HikaShop.
Adding shipping methods display in emails can be done like this:
www.hikashop.com/forum/4-how-to/42647-sh...-on-email.html#42794
or like this:
www.hikashop.com/forum/4-how-to/42647-sh...-on-email.html#58527
depending on your shipping method. For USPS, I would first recommend to try the second one.

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

  • Posts: 24
  • Thank you received: 4
11 years 2 months ago #121877

Neither of those ways work correctly, they both give the "shipping id" or whatever the number is. I did discover that the numbers that are attached are unique to each shipping method and so I made a simple key to translate the numbers into actual usable text with a few if/then statements in PHP. Not pretty, but works like a champ.

The following user(s) said Thank You: Mohamed Thelji

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

Time to create page: 0.081 seconds
Powered by Kunena Forum