DavidX
Ecommerce Template Expert
932 Posts |
Posted - 11/26/2023 : 19:54:00
I'm wondering if I can a) remove some of the info displayed on proddetail.asp (specifically the Product ID) and b) add a line of text somewhere that would show up on every page?
|
Vince
Administrator
42750 Posts |
Posted - 11/27/2023 : 01:14:36
Hi DavidX Could you have a look and see if you have the parameter "detailpagelayout" in the includes.asp file? If so, to remove the product id it's simple a case of removing "productid" from that list. To display text on every page, define a content region in the ECT Admin -> Content Regions page. Then add to the detailpagelayout list the following... contentregion25 In this example the number "25" is the id of the content region so change that to whatever yours says on the Content Regions admin page. Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
DavidX
Ecommerce Template Expert
932 Posts |
Posted - 11/27/2023 : 10:48:45
I do not have the "detailpagelayout" parameter in my includes.asp. Is it something that can be added?
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 11/27/2023 : 14:34:49
Some stores have that listed in the proddetail.asp page - can you check there? David
|
DavidX
Ecommerce Template Expert
932 Posts |
Posted - 11/28/2023 : 11:31:38
I don't see it in there. We're using Premium Monochrome.
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 11/28/2023 : 15:14:22
It is possible that you have an older table based layout still but that would be a cart that was purchased quite a few years ago. Maybe you have overlooked that setting. Have you tried opening the includes, and the proddetail pages in your html editor and performing a search for the term - detailpagelayout ?
If you want me to take a look, you could click my user name and message me FTP credentials.
Thanks, David
|
DavidX
Ecommerce Template Expert
932 Posts |
Posted - 11/29/2023 : 08:23:59
Yes, I've tried searching both of those pages. We bought the template just a few years ago.
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 11/29/2023 : 13:00:49
I looked at the site in your profile and it is a modern version. If you don't see that parameter, you can just add it. However, you need to be mindful of the order everything is in now, or you could throw off your page layout. If you view source of the page in your browser, you should be able to determine what order things are in now. This page should help https://www.ecommercetemplates.com/help/css-layouts.asp#proddetailorderThanks, David
|
DavidX
Ecommerce Template Expert
932 Posts |
Posted - 11/29/2023 : 20:39:08
Thanks for looking at it. I tried it out and it works great! I've added in the line using the content region feature but I just need to tweak it over a bit. I looked in style.css for a clue but I didn't see anything. I feel like it's an easy fix if I can be pointed at it. Thanks again for the help!
|
dbdave
ECT Moderator
USA
10406 Posts |
Posted - 11/30/2023 : 08:06:00
Hi David, is this the text "Items are represented by stock images. To see actual photos, please contact us!"?
I see the following two classes on that div
detailcontentregion and detailregionid1
I expect the first one there detailcontentregion would apply to all content regions you might add and the class detailregionid1 would be just for that specific content region. Is that what you need? You would just add them in your stylesheet with any styling you might need.
detailregionid1 { font-weight:bold; }
for example.
Thanks, David
|
|
|