E-junkie Ecommerce Forums » E-junkie Discussions
Tag Cloud for this topic:
added
admin
attr
button
buy
cart
class
code
config
customer
edit
ejc
ejejc
false
function
help
href
innerhtml
instructions
item
items
javascript
jquery
listing
manipulation
number
offer
onclick
option
postcall
product
products
promote
promoted
return
selected
shopping
show
target
tdsell
thank-you-page
thkbx
trigger
upsell
xxxx
yyyy
| |
| |
|
GuestUser member Posts: 808 |
I'm trying to get an item a customer selected to offer "other items" they may want. I have done a test item and nothing. The instructions say make sure we edit listing but I'm not sure what that means. Please help. # POSTED ON: March 14, 2008 @ 08:23 GMT -7 |
|
E-JunkieExpert member Posts: 804 |
The option in the admin is to show the other products on the thank you page. If you want to promote your items in the shopping cart itself, you will need to use JavaScript manipulation for that. Please add the following your add to cart button code: function EJEJC_config() { EJEJC_POSTCALL=true; } function EJEJC_shown() { // XXXX is item number of the product which when added will trigger the upsell, // YYYY is the item number of the product being promoted in the cart. if (EJEJC_added('XXXX')!==false && EJEJC_added('YYYY')===false) { jQuery('#tdSell').attr("innerHTML", '<a href="https://www.e-junkie.com/ecom/gb.php?c=cart&i=YYYY&cl=...&ejc=2" target="ej_ejc" class="ec_ejc_thkbx" onClick="javascript:return EJEJC_lc(this);">Buy Our other product!</a>'); } } # POSTED ON: March 14, 2008 @ 08:24 GMT -7 MODIFIED ON: September 9, 2008 @ 22:24 GMT -7 |
You must be logged in to make a post. Please click here to login. | |






