3 questions

  • Posts: 29
  • Thank you received: 1
  • Hikashop Business
3 days 16 hours ago #366612

-- url of the page with the problem -- : www.viniprovolo.com/shop/
-- HikaShop version -- : 5.1.5
-- Joomla version -- : 4.4.12
-- PHP version -- : 8.5
-- Browser(s) name and version -- : chrome

Hi, 3 questions that i have same problem to solve:

1. When you click on "Add to cart", in the small popup that appears for a few seconds, they would show the quantity and the total price of what was added, without making it interactive. Just the product photo, name, quantity, and price;

2. If I change the order status to "Refunded", it should send an email with a message indicating the order was refunded — something like: "The details of order XXX for a total of XXX have been refunded to your card" (to be reviewed). But not happens, why?

3. Can i add more order status and send different email for them?

Many thanks in advance

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

  • Posts: 83590
  • Thank you received: 13528
  • MODERATOR
3 days 12 hours ago #366613

Hi,

1. While that's not impossible, this requires adding custom code in the file administrator/components/com_hikashop/classes/cart.php
I think adding a line like this:

$cart->messages[] = array(
	'msg' => $message,
	'type' => 'success'
);
After the line:
return $quantityCheck;
And you need to generate $message with the message you want based on the data you want before in that same function addProduct. So it requires a developer to work on this.
Also, as this modification is in the core of HikaShop, it will be lost after each update.
To avoid that, it would require making it as a class override, as explained here:
www.hikashop.com/support/documentation/6...ntation.html#classes

2. When you change the order status in the backend, you have a checkbox to check in order to send the email notification to the customer. If that is not done, then the email will not be sent.
Are you doing this ?

3. Order statuses can be added in System>Order statuses.
And when you edit the "order status notification" email via the System>Emails menu, you have a "per status override" button, which allows you to customize the notification email differently for different order statuses.

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

Time to create page: 0.052 seconds
Powered by Kunena Forum