Zen Cart Logo

Template Fluorspar

Views: 135,981

Results 241 to 260 of 298
25 Aug 2025, 12:11 AM
#241
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Template Fluorspar

clear your cache on your browser... it there . I see it on my firefox and chrome

25 Aug 2025, 12:29 AM
#242
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

clear your cache on your browser... it there . I see it on my firefox and chrome

Its working now. Maybe you can help me with another area. I am using the attribute for POSM is it possible to hide the attribute on the product info page. Also, I need to change this (###) units in stock. I was wondering if its possible just to say In Stock! then when I have say example I have 8 left in stock and it will say that?

25 Aug 2025, 12:33 AM
#243
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

Yes. Give me an example of the product on the attribute page. So I can create a css element for it

25 Aug 2025, 12:34 AM
#244
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

Yes. Give me an example of the product on the attribute page. So I can create a css element for it

Its on all my products.

25 Aug 2025, 12:35 AM
#245
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

i mean show me an example with an attribute in it. You said you wanted to hide it correct me if i am wrong.

25 Aug 2025, 12:38 AM
#247
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

add this to your stylesheet

#productAttributes {
   display:none;
}

to change "in stock unit" go to

\includes\languages\your_template\lang.english.php

25 Aug 2025, 12:54 AM
#248
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

add this to your stylesheet

#productAttributes {
display:none;
}

> 
> 
> to change "in stock unit"  go to 
> 
> \includes\languages\your_template\lang.english.php

Ok, I don't see the code?
25 Aug 2025, 12:59 AM
#249
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

if you dont see the file just go to

copy this file
\includes\languages\lang.english.php (this file do not touch could effect upgrade in future)

Copy the lang.english.php and put it in this path
\includes\languages\your_template_name\lang.english.php

Its not code its a text file. From here you can make the change

25 Aug 2025, 1:03 AM
#250
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

if you dont see the file just go to

copy this file
\includes\languages\lang.english.php

and create
\includes\languages\your_template_name\lang.english.php

Its not code its a text file

Are you saying that I need to copy this file:
\includes\languages\lang.english.php

and replace it with this file?
\includes\languages\fluorspar\lang.english.php

25 Aug 2025, 1:35 AM
#251
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

Ok, I was able to change the stock from Units in Stock to In Stock! But, It still show the quantity I don't want to show the quantity on that. Then when I have low stock I want it to say "5 left in Stock!"

25 Aug 2025, 2:44 AM
#252
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

wmorris:

Ok, I was able to change the stock from Units in Stock to In Stock! But, It still show the quantity I don't want to show the quantity on that. Then when I have low stock I want it to say "5 left in Stock!"

This should be what your looking for

Disable Show Quantity in Stock via Admin
Go to Admin > Catalog > Product Types > Layout Setting > Show Quantity in Stock -- set to false

includes\templates\yuor_template\templates\tpl_product_info_display.php
Add this where you want it to display on product page

<?php
  if ($products_quantity >= 5) {
      echo '<p class="stock-message in-stock">In Stock</p>';
  } elseif ($products_quantity > 0) {
      echo '<p class="stock-message low-stock">Only ' . (int)$products_quantity . ' left in stock!</p>';
  } else {
      echo '<p class="stock-message out-of-stock">Out of Stock</p>';
  }
?>
25 Aug 2025, 2:49 AM
#253
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

This should be what your looking for

Disable Show Quantity in Stock via Admin
Go to Admin > Catalog > Product Types > Layout Setting > Show Quantity in Stock -- set to false

includes\templates\yuor_template\templates\tpl_product_info_display.php
Add this where you want it to display on product page

<?php if ($products_quantity >= 5) { echo '<p class="stock-message in-stock">In Stock</p>'; } elseif ($products_quantity > 0) { echo '<p class="stock-message low-stock">Only ' . (int)$products_quantity . ' left in stock!</p>'; } else { echo '<p class="stock-message out-of-stock">Out of Stock</p>'; } ?>

Ok, I want it on the bottom the description area.
25 Aug 2025, 2:55 AM
#254
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

I see you got it to work

if you want to style the word "In stock" just add this to your stylesheet

.stock-message {
  font-weight: bold;
  margin-top: 10px;
  font-size: 1.1em;
}
.stock-message.in-stock {
  color: green;
}
.stock-message.low-stock {
  color: orange;
}
.stock-message.out-of-stock {
  color: red;
25 Aug 2025, 4:08 AM
#255
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

Ok, I have another issue with the bullet in description. Some sentence will use the bullets and some other sentences doesn't. How can I fix that?

25 Aug 2025, 2:22 PM
#256
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,768
Plugin Contributions:
9

Re: Template Fluorspar

chadlly2003:

This should be what your looking for

Disable Show Quantity in Stock via Admin
Go to Admin > Catalog > Product Types > Product - General >Layout Settings > Show Quantity in Stock -- set to false

The Product - General covers most items, but if you have others, substitute them.

25 Aug 2025, 3:04 PM
#257
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

wmorris,

Might be tough because we are using css to force the bullets on any <p> tag within the description.

Show me an example and I might be able to help you out.

25 Aug 2025, 3:08 PM
#258
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

wmorris,

Might be tough because we are using css to force the bullets on any <p> tag within the description.

Show me an example and I might be able to help you out.

Ok, here is the company I get my products from. https://sigmaslc.com/collections/home-decor/products/howling-wolf-bookends

25 Aug 2025, 3:20 PM
#259
chadlly2003 avatar

chadlly2003

Totally Zenned

Join Date:
Jan 2015
Posts:
744
Plugin Contributions:
0

Re: Template Fluorspar

I am sorry not getting a clear picture here. On your site can you show me where the issue is happening. Its easier for me to see the actual issue.

26 Aug 2025, 2:24 AM
#260
wmorris avatar

wmorris

Totally Zenned

Join Date:
Aug 2007
Location:
Amarillo, Tx
Posts:
1,678
Plugin Contributions:
0

Re: Template Fluorspar

chadlly2003:

I am sorry not getting a clear picture here. On your site can you show me where the issue is happening. Its easier for me to see the actual issue.

Its the description area. Where all the bullets is. As I was saying is some of the lines I don't need the bullets and some other lines I do. That's what I am talking about.