Store logo in PDF and some translation problem

Phoca Cart - complex e-commerce extension
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Store logo in PDF and some translation problem

Post 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
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Store logo in PDF and some translation problem

Post 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.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Store logo in PDF and some translation problem

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Store logo in PDF and some translation problem

Post 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:
mino182
Phoca Professional
Phoca Professional
Posts: 189
Joined: 12 Feb 2015, 13:30

Re: Store logo in PDF and some translation problem

Post by mino182 »

It was plugin for minimum amount for free shipping...
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Store logo in PDF and some translation problem

Post by Nidzo »

mino182 thanks again. It can be used as notification for Minimum Order Amount too.
mino182
Phoca Professional
Phoca Professional
Posts: 189
Joined: 12 Feb 2015, 13:30

Re: Store logo in PDF and some translation problem

Post by mino182 »

Good to know :-)
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Store logo in PDF and some translation problem

Post by Nidzo »

How to insert that plugin in other views? For example in category or item view?
Overrides, but what code?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Store logo in PDF and some translation problem

Post 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
If you find Phoca extensions useful, please support the project
User avatar
Nidzo
Phoca Professional
Phoca Professional
Posts: 389
Joined: 07 Nov 2018, 14:55

Re: Store logo in PDF and some translation problem

Post by Nidzo »

I mean also in Cetegories, Category, Item etc. views.
Beside Checkout view.
Thanks!

EDIT:
Image
Post Reply