E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
action
button
cart
check
choice
code
config
disabling
don
ejejc
enable
error
false
feature
feedback
form
function
javascript
language
message
method
modify
online
perhaps
postcall
product
redirect
renders
replace
request
return
returning
script
setting
site
src
standard
stock
support
technique
text
type
url
user
variable
view
| |
| |
|
getfused member Posts: 2 |
Is there any way to redirect a shopper to a URL on my site if a product becomes out of stock, rather than simply disabling the button or returning the "out of stock" error message? I would like to redirect the shopper to a online form where they can request to be notified when the product comes back in stock. # POSTED ON: December 9, 2008 @ 13:10 GMT -7 |
|
E-junkieGuru E-Junkie Crew Posts: 3483 |
I don't think we have a method to support that, at least not any standard feature/setting or technique. # POSTED ON: December 10, 2008 @ 13:04 GMT -7 |
|
getfused member Posts: 2 |
Thanks for the quick feedback. Perhaps it can be a future feature. You guys have a great product!!!! # POSTED ON: December 10, 2008 @ 13:17 GMT -7 |
|
E-junkieChef E-Junkie Crew Posts: 936 |
Basically, you need to modify the VIEW CART button code to enable a callback function after the cart renders. Then in the function that gets called, you can check for the variable set by the cart and take user to a URL of your choice or do anything else you want to do. So, replace the JS in your VIEW CART code with - <script language="javascript" type="text/javascript"> <!-- function EJEJC_lc(th) { return false; } function EJEJC_config() { EJEJC_POSTCALL=true; } function EJEJC_shown() { if (EJEJC_STATUS=='outofstock') { // take the action you need } } // --> </script> <script type="text/javascript" src="http://www.e-junkie.com/ecom/box.js"></script> # POSTED ON: December 23, 2008 @ 10:15 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






