Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 Are you able to mark a product Out of Stock?
Author « Topic »  

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/14/2020 :  12:24:00  
hi everyone, is there a way in the cart to mark certain products as showing Out of Stock and able
to enter a Date when they are back in? thanks again!!

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 04/14/2020 :  13:25:19  
Hi Dano, does the site currently have stock management on in the admin main settings? https://www.ecommercetemplates.com/help/stock_management.asp As for providing a approximate date you can add a note to the description.

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/14/2020 :  13:54:45  
ok thank you, is stock management something you have to first setup? not seeing specific
instructions?

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/14/2020 :  15:59:38  
To show an item as notify when back in stock uncheck the Sell Button in the admin. The notify when back in stock is clickable which the shows a small popup box where customer can add their email address to be notified when the item is back in stock. As soon as the store owner checks the Sell Button box in the admin this automagically sends an email notifying the customer that the item is back in stock with a link to the product

Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file

Edited by - 1818charlie on 04/14/2020 16:06:05

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/14/2020 :  19:26:27  
Steve, thank you, I didn't fully read your instructions, that works perfectly for me and very simple. I like how the product shows
up as Red in the admin product list also....thanks so much!!!

Question: is there a way to make the text that says "notify me when back in stock" show in red text?


Edited by - dano2 on 04/14/2020 21:14:46

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 04/15/2020 :  06:32:54  
Hi Dano, you can add the following to the sites main style sheet, check the style sheet for the class first if already present just change the color or add - color; #ff0000 !important; to the class.

div.notifyinstock{
color; #ff0000 !important;
}

Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/15/2020 :  09:39:15  
thanks Sinbad, does it matter where I place it in the style.css file? This is where I placed but but it doesn't seem to change the color to red yet.


/* ~~ This the css file for the Responsive Design of Virtual Gadgets from Ecommerce Templates.
The first section correponds to the maximum width version of 960 pixels ~~ */

body{
font: 100%/1.5 Georgia, Arial, serif;
margin: 0 auto;
color:#000;
background:url(../images/topbg.jpg) #fff repeat-x;
}

div.notifyinstock{
color; #ff0000 !important;
}

/* ~~ Element/tag selectors ~~ */
ul, ol, dl {
padding: 0;
margin: 0;

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/15/2020 :  09:40:58  
Have you refreshed your browser - Ctrl+F5

Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/15/2020 :  09:47:45  
I did, and actually also cleared cache manually

Sinbad
ECT Moderator

USA
65937 Posts

Posted - 04/15/2020 :  10:27:53  
Hi I don't see that in your style sheet this is what I'm seeing in ectstyle.css around line 518 just add the color to the class.

div.notifystock{
float:left;
width:100%;
margin:4px 0px;
}


Winners never quit, quitters never win
CSS and Responsive Designs
User Manual for Ecommerce Templates

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/15/2020 :  10:52:22  
ok I added it to ectsyle.css see below. Does this look correct? still doesnt seem to work.

Also does it need to be in the style.css folder as well?

div.notifystock{
float:left;
width:100%;
margin:4px 0px;
}

div.notifyinstock{
color; #ff0000 !important;
}

Edited by - dano2 on 04/15/2020 11:20:05

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/15/2020 :  14:45:14  
Hi dano2

Change the semi-colon, highlighted in red below, to a colon :

Change from
div.notifyinstock{
color; #ff0000 !important;
}

to

div.notifyinstock{
color: #ff0000 !important;
}

Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/15/2020 :  15:25:32  
thanks Steve, that worked but its highlighting the wrong text which is ok too :)

What I wanted to highlight is just the text that says "Notify when back in stock" instead of the message text box that opens.

Or can that be done? and also would we be able to do BOLD Red? trying to catch peoples eye:)

Edited by - dano2 on 04/15/2020 15:30:07

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/15/2020 :  16:23:32  
Hi dano2

I have tried this and it's the only way I can get it to show the text in red, or whichever preferred colour you'd like. Add this line to your includes.php file.

$xxNotBaS='<font color="red">Notify when back in stock</font>';

That line is from the vsadmin/inc/languagefile_en.php so when any updaters are applied that line will not be overwritten and the change stays in place after updating. Hopefully that solves yours issue

The result is such
https://v45.co.uk/ect/notify-back-in-stock-color.jpg

Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file

Edited by - 1818charlie on 04/15/2020 16:42:11

dano2
Ecommerce Template Expert

USA
514 Posts

Pre-sales questions only
(More Details...)

Posted - 04/15/2020 :  16:42:46  
Yeeaaahhhh that works for me... looks good.... thanks a lot Steve!!

1818charlie
ECT Moderator

United Kingdom
1198 Posts

Posted - 04/15/2020 :  16:43:40  
You're welcome

Steve
Bolton, Lancashire, UK

Remember - Any edits to the ectcart.css file will be overwritten by updater's. ALL edits to ectcart.css rules should be placed in your style.css file
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000