HomeHome Product Discus... Product Discus...SmithCartSmithCartSKUs not showing - Cart v2.85SKUs not showing - Cart v2.85
Previous
 
Next
New Post
5/20/2010 6:43 AM
 

Product SKU's do not show if I check "Show Product Sku" in BuyNow Settings.

 
New Post
5/21/2010 12:36 AM
 

Same thing with 2.88

 
New Post
5/21/2010 12:38 AM
 

What page is it not showing the product sku?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/21/2010 3:19 AM
 

The product catalog page

 
New Post
5/21/2010 1:24 PM
 

I just tested it out and the product sku shows if you are using the default one column layout but if you select the multi column layout the sku doesnt show. Are you using the multi column layout?


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
5/21/2010 1:34 PM
 

I'm using a 3 column layout

 
New Post
5/21/2010 1:48 PM
Accepted Answer 

In the multi column layout the screen real estate is limited so product skus and the summary fields do not display in the multi column layout. However there is an a solution for you if you modify the productlist.ascx page and move the following code to the table section that displays the multi column layouts:

<tr >
<td><asp:Label runat="server" ID="lblProductSKULabel" Text="SKU: " Visible="false" style="float:left; text-align:left; width:50px;"/>
<asp:Label runat="server" ID="lblProductSKU" Text='<%# DataBinder.Eval(Container.DataItem, "ModelNumber") %>' Visible="false" style="float:left; text-align:left;"/>
</td>
</tr>


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
10/28/2010 7:27 AM
 

I am running 3.87 on DNN 4.9.5.

I have selected dsiplay sku in my cart settings.

I am running multiple column layout (3 cols). I have tried this fix, and my sku is still not showing.

I also want the sku to show on the product details page (details page shoudl be able to show all data from the listing page + more).

How do we fix it so that the sku shows on listing page and also on details page ?

 
New Post
10/28/2010 2:52 PM
 

In the single column product catalog layout the sku shows but for space reasons the sku was not included in the multi column layout but it can easily be added by doing the following:

1) Open the productlist.ascx in your \desktopmodules\smith.buynow folder

2) Go to line 79 or where you would like it inserted in the table rows and copy the following code:

<tr >
<td><asp:Label runat="server" ID="lblProductSKULabel2" Text="SKU: " Visible="false" style="float:left; text-align:left; width:50px;"/>
<asp:Label runat="server" ID="lblProductSKU2" Text='<%# DataBinder.Eval(Container.DataItem, "ModelNumber") %>' Visible="false" style="float:left; text-align:left;"/>
</td>
</tr>

3) Save

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/2/2010 5:14 AM
 

Hi Scott

This doesn't work. It is essentially the same solution you outlined earlier in this thread - the only difference is the addition of the number 2 into the id fields. If you had read my post, you would have seen that I have already tried the original fix.

Now I have done both the original fix and this latest one with the slight difference in the Id field - neither seem to work.

Pls review this issue again.

 
New Post
11/2/2010 9:07 AM
 

The sku is returned from the sql query so I thought you could just add it in the ascx like any other field that is displayed in the datalist but in code behind the sku was only programmed in to show for the single column layout. I will add this to the feature enhancement list thanks for requesting it!

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
11/8/2010 12:47 AM
 
skelly wrote:

The sku is returned from the sql query so I thought you could just add it in the ascx like any other field that is displayed in the datalist but in code behind the sku was only programmed in to show for the single column layout. I will add this to the feature enhancement list thanks for requesting it!

-Scott

That sounds great Scott - can you please also allow for the SKU to be shown on the product details page as well? Should be easy enough seeing as though its returned via the sql query.

 
New Post
11/8/2010 12:54 PM
 

Will do I will I add this to the feature enhancement request list as well!

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
3/28/2011 6:09 AM
 

Hi Scott

I just tried adding SKU to a multi product listing, and I see it is still not there? Any idea when this will be added - considering it was raised over 4 months ago?

For the record, I added the following :

<asp:Label runat="server" ID="lblProductSKULabel2" Text="SKU: " Visible="false" style="float:left; text-align:left; width:50px;"/>
<asp:Label runat="server" ID="lblProductSKU2" Text='<%# DataBinder.Eval(Container.DataItem, "ModelNumber") %>' Visible="false" style="float:left; text-align:left;"/>

Nothing comes through in the multi product listing ... If I remove the '2' in the ID column, the listing doesn't work at all (ie. nothing is shown) as the above lines are replicated in the single column layout code - if I delete them from the single colmn layout code, still nothing comes through, so I can only assume the query hasn' been modified for the multi column listing yet.

Using cart 4.22 on dnn5.x

 
New Post
3/30/2011 7:21 AM
 
Hi Scott

Any feedback on this?
 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartSKUs not showing - Cart v2.85SKUs not showing - Cart v2.85