Print Page | Close Window

Cross-selling bug

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Using ProductCart
Forum Description: Running your store with ProductCart
URL: https://forum.productcart.com/forum_posts.asp?TID=1687
Printed Date: 27-November-2024 at 4:16pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Cross-selling bug
Posted By: katharina
Subject: Cross-selling bug
Date 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



Replies:
Posted By: Matt
Date 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  



Posted By: katharina
Date 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


Posted By: Matt
Date 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)



Posted By: katharina
Date 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?


Posted By: Matt
Date Posted: 05-June-2008 at 3:45pm
Yes. Put a ' in front of those lines.


Posted By: Hamish
Date 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 :-)


-------------
Editing ProductCart Code?

See http://wiki.earlyimpact.com/developers/editcode" rel="nofollow - WIKI Guidelines for Editing ProductCart's ASP Source Code



Posted By: katharina
Date 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


Posted By: Matt
Date 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.



Posted By: katharina
Date 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


Posted By: swaynewilson
Date Posted: 08-July-2008 at 9:54am
Hi Matt,

I came across your posting as I was searching for why a cross-selling "bundle" link in my store isn't working. So if I understand you correctly, if the bundled item requires a option it won't show up in the store?

This is a pretty strong limitation for us at YourBagTag.com http://www.yourbagtag.com - YourBagTag.com . Our entire store is "personalized" items. Each item requires the option of Name, thread color, etc.

I wanted to bundle a BC Tag and a SCUBA airtank tag, offer a $5 discount on the purchase of both. Any suggest work around on this?


Posted By: Matt
Date Posted: 08-July-2008 at 3:42pm
The cross-selling features will allow you to create the bundle and discount. 

The shopping cart can handle adding several items to the cart at one time.  However, during a "multiple add-to-cart" it does not currently process options.  That is why the bundled item will not show if the options are required.

This would be a fairly large project.  It would involve the following:

1.) Modify viewPrdCode.asp so that option and bundles are always displayed.
2.) Modify InstPrd.asp to accept multiple parameters from bundles.

Both steps above are generalized and actually would be comprised of several smaller steps.  Hopefully, that is enough to provide an idea of what would be required.  This is not something that will be included in the next update.  It is a nice idea though and I have added it to our "Wish List".  In the meantime, an option is to hire an asp programmer to perform the tasks.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net