Adding text to the product page

For general questions and discussions specific to the AbleCommerce GOLD ASP.Net shopping cart software.
Post Reply
fiddycent
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 45
Joined: Tue Sep 03, 2013 12:30 pm

Adding text to the product page

Post by fiddycent » Thu Mar 31, 2016 11:39 am

I want to add some text on the Product Page below the Add to Cart button. Something like "Call us if you can't find what you need - we make custom parts". I think I need to modify the BuyProductDialog.ascx file but I'm not sure how to make sure the text wraps around to the next line and looks nicely formatted, bold, etc. Can anyone show the way to this ASP newbie?

nadeem
Captain (CAPT)
Captain (CAPT)
Posts: 258
Joined: Tue Jul 31, 2012 7:23 pm

Re: Adding text to the product page

Post by nadeem » Fri Apr 01, 2016 4:06 am

Locate the following closing panel at the end of the BuyProductDialog.ascx file

Code: Select all

</asp:Panel>
and replace with

Code: Select all

<div style="font-weight:bold; margin-top:10px;">Call us if you can't find what you need - we make custom parts.</div>
</asp:Panel>
Now you can add any style of your choice (e.g. font-size, font-family etc.) inside inline style attribute. Also you can put the part of the text that you want to wrap inside p tag e.g. <p>Text to wrap to new line</p>. A simple <br /> will also work for line break.
Last edited by nadeem on Wed Apr 06, 2016 6:07 am, edited 1 time in total.

fiddycent
Lieutenant, Jr. Grade (LT JG)
Lieutenant, Jr. Grade (LT JG)
Posts: 45
Joined: Tue Sep 03, 2013 12:30 pm

Re: Adding text to the product page

Post by fiddycent » Wed Apr 06, 2016 5:09 am

Thanks that's a good start!

Post Reply