Forums / All Other Contributions/Addons / Cross Sell displaying in Cart (not product page)

Cross Sell displaying in Cart (not product page)

Locked

Views: 3,733

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
17 Aug 2006, 9:15 AM
#1
pappaj333 avatar

pappaj333

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Cross Sell displaying in Cart (not product page)

I've seen osCommerce's version of the XSELL_CART mod and I'd like to see if ZenCart has a similar one. I can't tell from the threads/descriptions if the Cross Sell contriibution allows for displaying the recommended cross sells inside the shopping cart.

Any one know if I can do this with Zen Cart too?

17 Aug 2006, 9:47 AM
#2
seethrou avatar

seethrou

Totally Zenned

Join Date:
May 2004
Location:
Hong Kong
Posts:
1,156
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

Don't exactly grasp what you mean. But there are mods for similar functions.
One display cross sell products of a Products in its Product Info Page, and another display cross sell products in the sidebox.

Please search for Cross Sell, XSell, X'Sell and releated key words.

If you want Cross Sells Products which related to products inside the customer's Shopping Cart, then you can modify them for yourself.

But one problem, if I have 10 or 20 products in my shopping cart. And every product have 2 cross sell products.
How to choose which product{s} for cross selling?
Or just list all the 20 - 40 products in one page?

A New Starter again

17 Aug 2006, 5:33 PM
#3
psycho_chick avatar

psycho_chick

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

I want this too!

I understand the argument, but what about inserting a row after each product displaying only the text (title, price) in a link? The cart I want it for usually only sells 1-3 products at a time, and they always forget to add THE accessory that makes the main product work (they have to choose between several items that work with the main product). On the current non-Zen site (I'm still doing my first cart), I either have to make them go through it all again or change the order, shipping, etc, and do another transaction... I'm usually either emailing with links of the addons to choose from or explaining them all on the phone. Either way it's a pain. I've tried attributes, HUGE reminder messages... I just think that IN the cart is the only way I'll get their attention. I just started working on this yesterday, and right now in my cart-to-be I have a "DON'T FORGET THESE EXTRAS" link IN the cart that takes them back to the cross sell anchor on the product page. (I know the wording is weird, but it's power sources for some products, and accessories for others, and that's another reason I want the actual cross sell in the cart - 2 instances of it where the power sources don't show up if there aren't any and the extras show up for everything)

I'm a coding moron, but I'm incredibly stubborn, so I'm probably going to figure this out... I don't really need pictures for most of these add-ons, but I need to tell them WHICH add-ons go with their product for the novices. Links (titles, prices) would be enough, and I don't think it would make the cart look TOO horrid. Style vs. saving a LOT of time and trouble.

That said, I LOVE CROSS SELL. I just hope Merlin and Dr. Byte don't giggle at the piddly amounts I'm sending until I make more money. More like a sip of coffee instead of a cup.

17 Aug 2006, 6:14 PM
#4
pappaj333 avatar

pappaj333

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

This is the contribution to oscommerce that I'm interested in... (see X-Sell Updated Product Listing version 2 Dan Sullivan 30 Jan 2004 for detailed install instructions)...

http://www.oscommerce.com/community/contributions,1808/category,all/search,xsell_cart

Maybe you can use this as a basis for a mod. Aren't zen and osc based on the same code base? It looked like it at first glance. I'm just not in a position to figure out how to retrofit this code, and was hoping it had already been done before.

18 Aug 2006, 12:48 AM
#5
psycho_chick avatar

psycho_chick

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

ok I changed my mind about the display thing...

i want 3 instances of cross sell, and i want a different link for each to show up under the attributes in the shopping cart - only if there are items in that cross sell (some will have 2 links, etc).

a display link list in the cart wasn't fun, but it also looked weird... i was trying to put tick boxes next to the list and then i had to try to apply that oscommerce guy's "if its already in the cart or has already been recommended, ignore it" stuff and it's just WAY too far over my head, and i was in this neverending loop of cross sells. Besides, I still want cross sell to show properly on the product pages so I decided links back to that instead would be better.

i'm tired of messing with it, so i'm going to learn about if, elseif statements because i can easily install the mod 1 more time and i understand links.

pappaj, there's a guide on altering oscommerce mods to work in zencart. maybe that can help if you want to try.

i, on the other hand, am off to learn by the "just enough php to do what i need here" method until i go completely insane.

18 Aug 2006, 12:54 AM
#6
pappaj333 avatar

pappaj333

New Zenner

Join Date:
Aug 2006
Posts:
5
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

Psycho Chick:

pappaj, there's a guide on altering oscommerce mods to work in zencart. maybe that can help if you want to try.
Really? Where would I find that?

18 Aug 2006, 9:30 PM
#8
psycho_chick avatar

psycho_chick

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

ok i figured mine out so i'm happy.

just in case anyone else wants this weird thing, here's what i did:

installed cross sell and have it at the bottom of my product pages (only i did this 3 times because i want 3 different cross sells - long story)

i wanted the links to show up in the shopping cart based on the model (which i don't use as model #, but as a text field that i use to sort for other things like shipping regulations certain products have, etc), so to the shopping cart header, (in includes->modules->pages->shopping cart), i found the product array list at the bottom and added:

'model'=>$products[$i]['model'],

right above:

'attributes'=>$attrArray);

Then in the shopping cart template, I added if model = x, then show my link stuff. i did this under attributes, and i did a span class so i can mess with the css to set it apart from the attributes. heres an example:

<?php 
if ($product['model'] =="Pneumatic Pump" OR $product['model'] =="Spring-Piston") {
?>
<a href="<?php echo $product['linkProductsName']; ?>#crossSell"><span class="ammoWarning">DON'T FORGET YOUR AMMO!</a></span>

i like it because i can make the link different from the cross sell heading text (which in this case is "Ammo for this gun" or something). the link takes them back to the specific cross sell on the product page (#crossSell2 in some cases) so they can see their choices displayed all beauteous in the columns without crowding up the shopping cart, BUT i have the cross sell stuff under the Add to Cart and navigation stuff so I don't think it would make people forget to add the main item and have to go back to find it after looking at the cross sell items.

Seems to work, but I'm sure it was too easy.

18 Aug 2006, 9:41 PM
#9
psycho_chick avatar

psycho_chick

New Zenner

Join Date:
Aug 2006
Posts:
6
Plugin Contributions:
0

Re: Cross Sell displaying in Cart (not product page)

forgot to show the closing } on the template if statement, so if you're code-stupid like me, you have to know to add this after your if model =x, then show my link stuff:

<?php
}
?>