Skip to main content

Plugin Global Cart Fee

5 years 11 months ago #326394 by dquatre
-- HikaShop version -- : 4.3.0
-- Joomla version -- : 3.9.22
-- PHP version -- : 7.3.15
-- Browser(s) name and version -- : all

In the features of this plugin indicate: Apply or not global cart fee thanks to subtotal restrictions. But I don't see how to apply these restrictions.

I need to do this if possible: add a fee of 470€ when the subtotal is between 2000€ and 3000€. Add a fee of 600€ when the subtotal is greater than 3000€.

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

5 years 11 months ago #326396 by nicolas
Replied by nicolas on topic Plugin Global Cart Fee
Hi,

It seems you're using an old version of the plugin. Please download again the install package of the plugin on our website and install it again on yours and then try to create again a new instance of the plugin and you should see the "minimum subtotal" and "maximum subtotal" settings.

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

5 years 11 months ago #326411 by dquatre
Replied by dquatre on topic Plugin Global Cart Fee
Thanks a lot. Now it works.

Another problem I have is that I use the PDF Invoice plugin: www.hikashop.com/marketplace/product/18-plugin-pdf.html . And the applied fee is not reflected in the pdf, although the sum is. How can I make the fee show in this plugin?

If I download the invoice from the user panel, the fee is not shown in the pdf either.

image missing https://www.ingenioschool.com/img/fra.jpg

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

5 years 11 months ago #326421 by nicolas
Replied by nicolas on topic Plugin Global Cart Fee
Hi,

Similarly the PDF invoice plugin supports the display of additional fees but only in recent versions.
So you would have to download the invoice plugin again on our website and install it on your website again to update it.
Note that it seems you've customized the invoice.php file of the plugin. You'll loose your changes to that file when you update the plugin so you'll have to back them up first and then apply them again to the new version of the file after the update.
The following user(s) said Thank You: dquatre

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

5 years 11 months ago #326524 by dquatre
Replied by dquatre on topic Plugin Global Cart Fee
Hi;

I've updated the plugin, but it still doesn't show the fee in the pdf

image missing https://www.ingenioschool.com/img/fra2.jpg

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

5 years 11 months ago #326557 by nicolas
Replied by nicolas on topic Plugin Global Cart Fee
Hi,

And do you see the additional fee in the order in the backend ?
In the plugins/hikashop/attachinvoice/attachinvoie/invoice.php file of the PDF invoice plugin, you have this code which is there specifically to display the additional fees:
Code:
if(!empty($order->additional)) { $exclude_additionnal = explode(',', $config->get('order_additional_hide', '')); foreach($order->additional as $additional) { if(in_array(@$additional->name, $exclude_additionnal)) continue; echo '<tr><td colspan="3" class="newarea">'. JText::_($additional->order_product_name).'</td><td class="price">'; if(!empty($additional->order_product_price) || empty($additionaltionnal->order_product_options)) { if($config->get('price_with_tax')){ echo $currencyHelper->format($additional->order_product_price+@$additional->order_product_tax, $order->order_currency_id); }else{ echo $currencyHelper->format($additional->order_product_price, $order->order_currency_id); } } else { echo $additional->order_product_options; } echo '</td></tr>'; } }
Can you confirm that this code is there ?

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

5 years 11 months ago #326568 by dquatre
Replied by dquatre on topic Plugin Global Cart Fee
I can see the additional fee in order in you backend and frontend. Here you have an image on the frontend.

image missing https://www.ingenioschool.com/img/front_cart.jpg

I have verified that the code you send me is in the invoice.php file.

image missing https://www.ingenioschool.com/img/invoice.jpg

But in the pdf it does not show the additional fee.

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

5 years 11 months ago #326878 by dquatre
Replied by dquatre on topic Plugin Global Cart Fee
Hi,

Do you have any idea what is failing? I have bought everything you have indicated and everything is as you indicate. But it still does not show the fees in the pdfs.

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

5 years 4 months ago #333696 by nicolas
Replied by nicolas on topic Plugin Global Cart Fee
Hi,

Sorry for not answering earlier. The thread was wrongly closed on our end and I only sumbled upon it today.
If you still have the issue and you still want to fix it, please provide a backend access along with a FTP access via our contact form along with a link to this thread and I'll look into the situation directly since we're not able to reproduce the issue on our end:
www.hikashop.com/support/contact-us.html

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

Time to create page: 6.025 seconds
Powered by Kunena Forum