Partially shipping

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #253619

-- HikaShop version -- : 2.6.4
-- Joomla version -- : 3.5
-- PHP version -- : 5.5.12

Our shop is constantly ship partial products in an order.
Is there a way I could select some products for shipping in hikashop? or we need to do some customization ?
If the later, then would you suggest how should we do it, and we could be sure the shipping status of each product at every moment.

Thanks in advance
Best regards

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #253620

Hi,

How about creating a custom item field for that ? You would be able to edit the products in the order a change that custom field.

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

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #253690

Thanks, That's what I did. But I have another problem that I need to choose the products for shipping invoice. What would be your suggestion?

Thanks again

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #253706

Hi,

You would have to edit the file "invoice" of the view "order" and add custom code to display only some of the products based on that custom item field.
Or just leave everything in the shipping invoice since the custom item field will be displayed so the customer will know if it's a shipped products or not.
The custom item field could be a text input field where you would write "package number 1" for example, or the tracking number corresponding to the package.

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

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #254048

Thanks, Nicolas.
Now I have another question that we need to send the notification email by batch to the user for the partially shipped products, which program can I use?

Thanks again
Scott

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #254050

Hi,

Go in the menu System>Mass actions, and create a mass actions with filters in order to select all the orders you want, and an action to change the order status and check the email notification checkbox. When you process the mass action, it will change the status of all the orders filtered by the filters of the mass action and send the corresponding email notification to each customer.

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

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #254158

Hi,
In my opinion, the custom field should be in order_product table, but in the display\custom field, there is no order_product option, so I put the custom field in product. The problem is, I don't know from where to put the shipping code when the vendor ship the product. Please advice.
Thanks.

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

  • Posts: 25034
  • Thank you received: 3874
  • MODERATOR
4 years 11 months ago #254160

Hi,

the custom field should be in order_product table, but in the display\custom field, there is no order_product option, so I put the custom field in product. The problem is, I don't know from where to put the shipping code when the vendor ship the product.

I am sorry but it is not possible to understand your message.

But regarding the fact that you're talking about product custom field and Nicolas told you to create an item custom field ; I suppose that you should follow Nicolas' advice as the starting point.

How about creating a custom item field for that ?


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: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #254286

The custom filed I am adding should be in product_order table, but there is so such option in hikeshop\configuration\display\custom fields as in the attached screenshot.

This custom field is for putting the ship_tracing code for each product, because mostly we ship products in an order by 2 or 3 batch.
My question is, how and where do I put the code by each shipping, so user knows which products was shipped.

I hope this is clear enough.
Thanks

Best regards

Attachments:

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #254287

Hi,

The custom fields of the table "item" do store their data in the table order_product. So that's what you want to do.

The following user(s) said Thank You: twscott

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

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #254393

Thanks Nicolas, it works. The column was added in to Table,
1. I added 2 custom fields one in product and another one in order_product, but only the first one shown in my order detail page, as shown in the screenshot(2.OrderDetail.PNG), the missing column's display setting is as (1.CustomfildSetting.png),

2. How to remove the file column in my order detail ?
3. The email button in order detail
a. The popup window was too small, how to make it wider?
b. I want to modify the layout and content of the email, which file should open?
c. The column I added into item(Order_products) didn't show in the email product list, please see the attached screenshot.

Thanks again
Best Regards

Attachments:

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #254415

Hi,

1. The "backend listing" setting of your custom item field is turned off, so it's normal that it doesn't appear on the listing of the products of the order in the backend.

2. You can add custom CSS to the backend CSS of HikaShop via the HikaShop configuration.

3. a In the file administrator/components/com_hikashop/views/order/view.html.php, you'll find that code:

array('name' => 'Popup', 'icon' => 'send', 'id' => 'send', 'alt' => JText::_('HIKA_EMAIL'), 'url' => $url_email, 'width' => 720),
			array('name' => 'Popup', 'icon' => 'invoice', 'id' => 'invoice', 'alt' => JText::_('INVOICE'), 'url' => $url_invoice, 'width' => 720),
			array('name' => 'Popup', 'icon' => 'shipping', 'id' => 'shipping', 'alt' => JText::_('SHIPPING_INVOICE'), 'url' => $url_shipping, 'width' => 720),
Change the width in order to control the size of the popups.

3.b Go in the menu System>Emails, click on the email you want to modify and do the change in the HTML version.

3.c It can come from several things.
First, download the install package of the latest version on our website and install it on your website. Then, save the settings of your custom field. If that still doesn't display the custom item field, check that you don't have any overrides of the emails via the menu System>Emails. If you do, try deleting them.

The following user(s) said Thank You: twscott

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

  • Posts: 238
  • Thank you received: 1
  • Hikashop Business
4 years 11 months ago #254526

1. The "backend listing" setting of your custom item field is turned off, so it's normal that it doesn't appear on the listing of the products of the order in the backend.


The custom item field still don't show in my order product list, I don't know what was wrong, I have turned on almost every user display option, the setting screenshot is as below:


and in my order detail page, neither in product list nor hikamarket order, I don't see the item custom field.

There is one thing that is very confusing to me is that, there was may item custom fields in my setting, I am not sure where/when the were from, and these fields never show in my order detail either, since they are all published and was setting to show in the order detail but I never saw them show up, so why the new created item custom field can be shown?


Maybe my understanding of the custom field was wrong, Could you show me how to show the custom information in the product list of the order detail page.
Thanks

Best regards

Attachments:

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

  • Posts: 73880
  • Thank you received: 11330
  • MODERATOR
4 years 11 months ago #254614

Hi,

A custom field value will only be displayed if:
- its display setting for the location you're looking at is activated
- there is actually a value recorded for that custom field.
So if you turned on the display option and you still don't see it, it's probably because there is no value stored for the custom field in the order.
So in that case, try this:
Download the install package of HikaShop on our website, install it on your website, edit the custom item field and save its settings.
Then, do a new order and fill in the custom field value in it on the product page and check the resulting order on the backend after the checkout. It should then display there.

The following user(s) said Thank You: twscott

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

Time to create page: 0.063 seconds
Powered by Kunena Forum