- Posts: 447
- Thank you received: 20
Latest Orders List
6 years 4 months ago #318761
by davec
Latest Orders List was created by davec
-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.18
Hi
when a customer logs in there is an option Your Last Orders, is there a way to increase the length of this list please?
Thanks
Dave
-- Joomla version -- : 3.9.18
Hi
when a customer logs in there is an option Your Last Orders, is there a way to increase the length of this list please?
Thanks
Dave
Please Log in or Create an account to join the conversation.
6 years 4 months ago #318767
by nicolas
Replied by nicolas on topic Latest Orders List
Hi,
Yes. You can add an entry with the namekey order_number_acc and in the value the number of orders you want there in the table table hikashop_config via your phpmyadmin.
Yes. You can add an entry with the namekey order_number_acc and in the value the number of orders you want there in the table table hikashop_config via your phpmyadmin.
Please Log in or Create an account to join the conversation.
6 years 4 months ago #318853
by davec
Replied by davec on topic Latest Orders List
Hi Nicolas
thanks for that. Change has worked as required
Dave
thanks for that. Change has worked as required
Dave
Please Log in or Create an account to join the conversation.
6 years 4 months ago - 6 years 4 months ago #318856
by davec
Replied by davec on topic Latest Orders List
Hi Nicolas
further to this I also need to add the eta custom field which you kindly gave me the code for to show in user / cpanel_orders.php to be available in the order / listing.php and also the order / show.php
I have tried the code below but no results are returned in the order / listing.php and it shows as a duplicate in the order / show.php
Actually when I add the above code to order show I get a duplicate of the field as per the screenshot. ETA 2020
Thanks
Dave
further to this I also need to add the eta custom field which you kindly gave me the code for to show in user / cpanel_orders.php to be available in the order / listing.php and also the order / show.php
I have tried the code below but no results are returned in the order / listing.php and it shows as a duplicate in the order / show.php
Code:
<?php $class = hikashop_get('class.product');
$data = $class->get($product->product_id);
echo $data->eta; ?>
Actually when I add the above code to order show I get a duplicate of the field as per the screenshot. ETA 2020
Thanks
Dave
Last edit: 6 years 4 months ago by davec. Reason: Added image file
Please Log in or Create an account to join the conversation.
6 years 4 months ago #318894
by nicolas
Replied by nicolas on topic Latest Orders List
Hi,
For the order listing view file, you need to add your code in the file order / order_products.php and not in order / listing.php
I don't see why you would get it twice in order / show.php unless you add the code twice. Please double check.
For the order listing view file, you need to add your code in the file order / order_products.php and not in order / listing.php
I don't see why you would get it twice in order / show.php unless you add the code twice. Please double check.
The following user(s) said Thank You: davec
Please Log in or Create an account to join the conversation.
6 years 4 months ago #318936
by davec
Replied by davec on topic Latest Orders List
Hi Nicolas
all seems to be working now as expected. The duplicate issue has magically gone away too.
Thanks
Dave
all seems to be working now as expected. The duplicate issue has magically gone away too.
Thanks
Dave
Please Log in or Create an account to join the conversation.
Time to create page: 0.152 seconds