Page 1 of 2

Store logo in PDF and some translation problem

Posted: 26 Jul 2023, 14:49
by Nidzo
1. I created store logo image that is 120px width but in HTML and PDF invoice image is much larger. I customized HTML view with CSS rule but how to do that for PDF?

2. Translation of Phoca Cart is something that is not strange for me but this bugs me alot. I can't find strings in order.php that are connected to Subtotal and Total.
I even translated and made language overrides for COM_PHOCACART_SUBTOTAL and COM_PHOCACART_TOTAL for both languages in administrator and frontend but no luck.

Image

Re: Store logo in PDF and some translation problem

Posted: 28 Jul 2023, 21:44
by Nidzo
I solved issue with translation. So it stay image in PDF.

Also, is it possible to hide add to cart button when shop does not work according to Opening time? Now, even there is info in checkout view that store is closed, customer can go through process of choosing shipping and payment method. If you choose scroll checkout, info about the store is closed can be easily missed.

Re: Store logo in PDF and some translation problem

Posted: 29 Jul 2023, 14:25
by Jan
Hi,

image - it is hard to make the image the same in PDF or HTML, so there needs to be tested the site of image when it is used for both PDF and HTML - some compromise needs to be found. :idea:

opening times - this feature only affects the ordering process not the add to cart (as it is e.g. possible that customers adds the item to cart and wait for the opening times). There are different parameters to hide the add to cart (zero price, out of stock, product on demand, ...) but unfortunately noone is affilated to opening times :-(

Jan

Re: Store logo in PDF and some translation problem

Posted: 10 Aug 2023, 21:11
by Nidzo
I solved image issue adding one more row in order.php with the appropriate colspans width.

One more question related to Minimum Order Amount. I think I saw screenshot on this forum that ammount needed to Minimum Order Amount can be displayed in Cart module? Something like progress bar. Or I'm wrong? Maybe it was related to Reward Points? :idea:

Re: Store logo in PDF and some translation problem

Posted: 11 Aug 2023, 09:25
by mino182
It was plugin for minimum amount for free shipping...

Re: Store logo in PDF and some translation problem

Posted: 11 Aug 2023, 14:07
by Nidzo
mino182 thanks again. It can be used as notification for Minimum Order Amount too.

Re: Store logo in PDF and some translation problem

Posted: 11 Aug 2023, 16:03
by mino182
Good to know :-)

Re: Store logo in PDF and some translation problem

Posted: 12 Aug 2023, 20:50
by Nidzo
How to insert that plugin in other views? For example in category or item view?
Overrides, but what code?

Re: Store logo in PDF and some translation problem

Posted: 14 Aug 2023, 14:51
by Jan
Hi, if you mean the Phoca Cart Free Shipping Info Plugin https://www.phoca.cz/phocacart-extensio ... nfo-plugin

then there is option inside this plugin: Display in checkout view: Yes

Then it will be displayed in checkout too.

Image

Jan

Re: Store logo in PDF and some translation problem

Posted: 14 Aug 2023, 15:46
by Nidzo
I mean also in Cetegories, Category, Item etc. views.
Beside Checkout view.
Thanks!

EDIT:
Image