ProductCart E-Commerce Solutions Homepage
Forum Home Forum Home > ProductCart > Using ProductCart
  New Posts New Posts RSS Feed - Cross-selling bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Cross-selling bug

 Post Reply Post Reply Page  12>
Author
Message
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Topic: Cross-selling bug
    Posted: 04-June-2008 at 12:43pm
Just came across this bug in the cross selling.  We have two items that are similar.  One is smaller and other one is larger (not much of a price difference).  We have created a cross link between them and it all seems to be fine until one item hit 0 inventory.  This item may or may not come back in stock, pending on the manufacturers decision.  In the meanwhile we get lots of calls for the smaller unit and we refer the customers to the larger one.  The bug we now have is that it does not show the cross link on the out of stock item.  It should to inform the customer of other items they may be of interest.  Is there some setting I'm missing?
Katharina
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 1:58pm

Hi Katharina,

The Cross Sell link is hidden when the add to cart button is hidden on the parent product.  The behavior is by design so it’s not really a bug, but rather a feature limitation.  We will record your suggestions for a future update.

In the meantime you can achieve your goal with a very small code edit.

If you open viewPrdCode.asp and do a search for the following phrase  “Only run when having " you will find the two locations that need modified.

 

Change the following line:

 

'// Only run when having "Add to Cart" button

IF (showAddtoCart=1) AND (scCS=-1 AND cs_showProd="-1") THEN

 

Change to:

 

'// Only run when having "Add to Cart" button

IF  scCS=-1 AND cs_showProd="-1" THEN  

Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 2:43pm
This limitation does not make sense, but I like that you guys consider a change.  I did the change, but it still does not show.  Could it be that selecting the "not for sale" button with message causes this? 
Katharina
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 3:04pm

Hi Katharina,

I understand the limitation doesn’t work for you.  However, it makes sense for others. 

Some stores use cross selling for “related items” and other use it for “bundle packages”.  In some cases accessories are required and are not available unless the parent product is available.

For any given feature there are virtually an unlimited number of ways someone will want to use it.  We are always listening and will try to add good suggestions to future updates. We work hard to accommodate everyone. 

Depending on your type you may also need to comment out the following:

IF showAddtoCart=1 THEN (line 1501)

END IF (line 1628)

Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 3:15pm
For bundled items it makes completely sense.  For related items it doesn't.  The bundled items is new isn't it?
Commenting out you mean putting a ' in front of it.  Right?
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 3:45pm
Yes. Put a ' in front of those lines.
Back to Top
Hamish View Drop Down
Admin Group
Admin Group


Joined: 12-October-2006
Location: United Kingdom
Status: Offline
Points: 56
Post Options Post Options   Thanks (0) Thanks(0)   Quote Hamish Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 3:51pm
I guess the key distinction here is between "Alternative items" and "Options / Accessories / Complementary items" .

Just my 2 cents :-)
Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 5:52pm
Still no luck with showing cross sell items on an out of stock item page.  I guess I give up on this one.  What a pitty.
Katharina
Back to Top
Matt View Drop Down
Moderator Group
Moderator Group


Joined: 20-July-2006
Location: United States
Status: Offline
Points: 73
Post Options Post Options   Thanks (0) Thanks(0)   Quote Matt Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 7:20pm

Hi Katharina,

The changes I outlined work for the issue you described.  I applied them to our demo store and tested them before I posted.  However, there are other reasons why a Cross Sell link could be hidden.  For example, if the product has required options.  In any event, the cross sell section of code is very well commented and organized.  It would be a small task for a developer to customize it for you.

Back to Top
katharina View Drop Down
Senior Member
Senior Member
Avatar

Joined: 25-October-2005
Location: United States
Status: Offline
Points: 0
Post Options Post Options   Thanks (0) Thanks(0)   Quote katharina Quote  Post ReplyReply Direct Link To This Post Posted: 05-June-2008 at 7:34pm
I followed it step by step, since the instructions were straight forward.  The products has no options.  All we have done at this point is marked it "Not for Sale" and inventory is set at 0, and ignore stock has been turned off.  I guess we have to create a manual link from the product description instead.  I still don't think a cross link should be disabled just because one item is out of stock.  For example you sell a candle holder and candles for it.  You can be out of the holder and still offer the candles since some may already have the holder.  Isn't that the point of cross selling, even for add on items.  For bundles items it is a different story. 
Katharina
Back to Top
 Post Reply Post Reply Page  12>
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.078 seconds.