HomeHome Product Discus... Product Discus...SmithCartSmithCartExpanding the listbox text under "Confirmation Page Setup (Before Payment)"Expanding the listbox text under "Confirmation Page Setup (Before Payment)"
Previous
 
Next
New Post
7/25/2010 1:48 PM
 

Can I extend the numbers of characters allowed in the listbox text under "Confirmation Page Setup (Before Payment)"? This customer has terms they want users to agree to and the listbox truncates about half of the agreement. Another way that might work is to direct to an agreement page and then force the checkmark (might be less desirable) ?? By the way, I am also requesting the customer to revise their terms to shorten them if at all possible. I don't think the legal team will shrink considering the work invested in generating the terms.

Answer - Yes if you open up the confirm.ascx page located in the \desktopmodules\smith.buynow folder and go to line 241 you can increase the height and width property of the label control that has your terms and conditions in it.

<asp:Label ID="txtPDLBText" runat="server" Height="100px" Width="450px"/>


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/25/2010 9:03 PM
 

This change appears to only affect the confirm page itself (confirm.aspx). I now see scroll bars, but the actual text length is no different. This is likely due to the following. I can enter the long set of terms in the listbox, save and leave the store settings area. When I return to the store settings the terms are truncated.

 
New Post
7/25/2010 9:29 PM
 

if you open up the settings.ascx page located in the \desktopmodules\smith.buynow folder and go to line 1037 and change the "MaxLength" property (highlighted in yellow) to enough characters needed for the terms and conditions you are adding

<asp:TextBox runat="server" TextMode="multiLine" MaxLength="400" ID="txtConfLBText" Rows="8" Columns="100" Width="395px"/>


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/26/2010 6:53 PM
 

I found the location and made the mod, but it didn't appear to make any difference. The terms were still truncated where they were before.

 
New Post
7/26/2010 6:55 PM
 

How many characters are you trying to save in the terms and conditions and how many characters is the cart allowing after truncation?


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
7/26/2010 7:17 PM
 

Characters in terms and conditions = 2635 (used MS Word count)

The module settings and cart are truncating at 1983

 
New Post
8/2/2010 11:06 PM
 

Any progress on finding a solution to expanding the listbox text?

 
New Post
8/3/2010 1:01 AM
 

This field is stored in the DNN Tab Module Settings which only allows 2000 characters. In sql mgmt studio if you look at the table "TabModuleSettings" you will see the field "SettingsValue" is a nvarchar(2000). Its a dnn core table and I have never tried increasing the field. If you want to try increasing it I recommend doing it on a test dnn install first not a live site.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/13/2010 5:25 PM
 

I've modified the TabModuleSettings value to be nvarchar(4000). It made no difference. The listbox within the buy.now settings is still limited to the same length. Is there something else I need to do?

 
New Post
8/13/2010 5:55 PM
 

You would probably have to change the data access layer (dal) and stored procedure also that saves that field. An easier approach that might work for you is just to add a regular html list box directly to the confirmstatus.ascx page and you could add as much text as you need.

-Scott


Scott Kelly
Project Manager
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
8/13/2010 7:14 PM
 

Wouldn't adding it to the confirmstatus.ascx page display the terms and conditions after purchase? This would not allow someone to choose not to purchase if they disagree with the terms. Can we add the mod before they pay?

Edit: Another thought. Modifying the .ascx files would affect all buy.now modules wouldn't it? I am wanting to run independent buy.now modules with different terms.

 
New Post
8/14/2010 12:01 AM
 

1) Yes you can add the listbox on the confirm.ascx page which is before payment.

2) yes if you change an ascx page and you are running multiple carts in one dnn install then it will display in all buynow modules. You might be able to add some javascript that queries the domain name or portal id and wrap an if statement around the html listbox you added to only display for the portal you want.


At your service,
Dave Smith
DotNetNuke Consulting, DotNetNuke Store and DNN Ecommerce
 
New Post
6/6/2011 10:34 AM
 

I am running into this issue now too, was there ever an elegant solution? I'm ok with putting in an HTML box and just having the user click the check box (required), doesn't have to be anything fancy.

Thanks for any suggestions.

EDIT

Ok what I have decided to do is just include an href to our T&C page, which works well in Firefox, but I can't see the link in Internet Explorer.

I have the following code (carrots used so code doesn't work)  ^a href="page"^Terms and Conditions^/a^

How does this not work for IE? Any ideas? I have attached what I see in IE. It looks like a box or something is trying to form, but no dice

-Mike

 
 Login to download attachment
New Post
6/13/2011 4:09 PM
 

Hi Mike,

Have you been able to successfully add the HTML box on the Confirmation Page (Before Payment)?

Thanks

 
New Post
6/14/2011 7:00 AM
 

I have not been able to fix this.

I am wondering what the option under General Cart Setup -> Insert Custom Checkout Page URL does. It says it inserts it after the Step 2 checkout page, so I'm wondering if I can just create a page with terms there and put a checkbox that needs to be ticked (using a form). If this is before they submit payment then this would work great!

If you could let me know where exactly in the order process this page would go I might be able to use this as a work around.

-Mike

 
Previous
 
Next
HomeHome Product Discus... Product Discus...SmithCartSmithCartExpanding the listbox text under "Confirmation Page Setup (Before Payment)"Expanding the listbox text under "Confirmation Page Setup (Before Payment)"