Page 2 of 5

Re: Sales tax problem

Posted: 02 Apr 2021, 22:25
by jrjr
christine wrote: 02 Apr 2021, 22:21 Hi,

If you mean not to show the text of: Price (excl. tax) plus the price, you could try to hide it with foll. CSS Code:
.ph-price-txt.ph-price-netto-txt.ph-standard-txt {
display: none;
}
.ph-price-netto.ph-standard {
display: none;
}
Kind regards
Christine
I don't know what foll is. Where do I find that? Or is that supposed to be 'following'?

Also, where do I put this css code?
I made a user.scss file and put that code in it. Didn't do anything

Re: Sales tax problem

Posted: 02 Apr 2021, 22:48
by christine
Hi,

There should be a: custom / scss / custom.scss

Kind regards
Christine

Re: Sales tax problem

Posted: 02 Apr 2021, 23:27
by jrjr
I put your code in custom / scss / custom.scss and it had no effect. Tax still shows up

Re: Sales tax problem

Posted: 02 Apr 2021, 23:43
by christine
Hi,

Try following:
Set to: Development Mode in Gantry
Mark: Disable Cache
Insert the codes in custom/scss/custom.scss
Klick: Recompile CSS

then the system will re-compile to e.g.: custom_12.css
(https://lakeshoreleather.com/templates/ ... tom_12.css

Kind regards
Christine

Re: Sales tax problem

Posted: 03 Apr 2021, 00:23
by jrjr
I don't have a development mode. Only production mode on or off. I turned that off. You do mean in the system plug in right?

I have no button to click to recompile css. I am working in the Phoca Premiere template. No change yet

edit
I did a recompile in the template if thats what you mean... didn't change after a cache clear then either

Re: Sales tax problem

Posted: 03 Apr 2021, 12:07
by christine
Hi,

Before CSS Changes:

Image
jrjr wrote: 03 Apr 2021, 00:23 edit
I did a recompile in the template if thats what you mean... didn't change after a cache clear then either
I can see now your CSS Changes (compiled) in: /custom/custom_12.css:

Image

Maybe it was Cache problem and takes time for re-compiling.

Kind regards
Christine

Re: Sales tax problem

Posted: 03 Apr 2021, 13:30
by jrjr
I see it did change but not the change I wanted. This change hid the base price! I want the base price to show in item and category views and not the tax, tax rate, or price with tax. They should only show in checkout.

Re: Sales tax problem

Posted: 03 Apr 2021, 14:36
by Jan
Hi, first of all, try to do the changes in Development Tools (e.g. in Google Chrome Development tools) so you are 100% sure, the CSS you are chaning is the right one.

Then if it works, do the changes in custom.scss code and after each change, recompile the CSS in Gantry (if you run additional cache feature on your site, even this cache needs to be cleaned) and of course, even browser cache needs to be disabled.


Jan

Re: Sales tax problem

Posted: 03 Apr 2021, 14:37
by christine
Hi,

I see, that you have removed the previous inserted Codes.

Do you mean, only the 1st line of your links-view should be shown?
If yes, add these codes to the previous one:
.ph-price-txt.ph-price-brutto-txt.ph-standard-txt {
display: none;
}
.ph-price-brutto.ph-standard {
display: none;
}
Kind regards
Christine

@Jan: The previous Codes were already successfully changed (I saw it). But jrjr wants to get other view.

Re: Sales tax problem

Posted: 03 Apr 2021, 15:32
by jrjr
Jan wrote: 03 Apr 2021, 14:36 Hi, first of all, try to do the changes in Development Tools (e.g. in Google Chrome Development tools) so you are 100% sure, the CSS you are chaning is the right one.

Then if it works, do the changes in custom.scss code and after each change, recompile the CSS in Gantry (if you run additional cache feature on your site, even this cache needs to be cleaned) and of course, even browser cache needs to be disabled.


Jan
I don't use chrome but never the less I tried to install developer tools. They are nowhere to be found with google searches. Instructions on how to use them but I see no downloads.
I will just give up and live with it like it is I guess.