charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/06/2023 : 14:50:00
I added text and several images to the top of my custom products page. The products are appearing to the right of the last image that I added, rather than breaking below. A regular <br> or <p> doesn't help. How do I make the incproducts start loading below all the information that I added at the top?
|
dbdave
ECT Moderator
USA
10450 Posts |
Posted - 03/06/2023 : 16:22:54
Below the information that added at the top - try adding this
<div style="clear:both;"></div>
Thanks, David
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/07/2023 : 08:16:11
Fixed, This is a good one to keep handy. Thank you David
|
dbdave
ECT Moderator
USA
10450 Posts |
Posted - 03/07/2023 : 10:36:43
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/08/2023 : 15:43:55
This question is for a custom proddetail page...
Where can I find the parameters for adding to a custom product detail page? Specifically I want to hide the short and long description on one detail page.
|
dbdave
ECT Moderator
USA
10450 Posts |
Posted - 03/08/2023 : 21:24:09
|
Phil
ECT Moderator
United Kingdom
7699 Posts |
Posted - 03/09/2023 : 02:01:48
Edited by - Phil on 03/09/2023 02:02:23
|
dbdave
ECT Moderator
USA
10450 Posts |
Posted - 03/09/2023 : 07:40:56
quote: Where can I find the parameters for adding to a custom product detail page? Specifically I want to hide the short and long description on one detail page.
I gathered there was already a static detail page based on the statement above. David
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/09/2023 : 09:40:34
Hi,
I did consider removing the descriptions from the admin but I wanted to keep the text there for future reference. I thought there was something like "description=false" I could add to my static detail page.
If not I will remove the text from the admin as Phil suggested.
Thanks
|
Vince
Administrator
42831 Posts |
Posted - 03/10/2023 : 00:15:37
Hi Charmarsh The link David posted is to the parameters for the "detailpagelayout" which sets the elements that you can have on the products and detail pages and their order. I think you currently have this in your includes.php file... $detailpagelayout='navigation,productimage,productname,shortdescription,description,productid,discounts,listprice,price,options,quantity,addtocart,previousnext,emailfriend,reviews'; If you remove the elements "shortdescription" and "description" from that parameter then those will not display on the detail page... $detailpagelayout='navigation,productimage,productname,productid,discounts,listprice,price,options,quantity,addtocart,previousnext,emailfriend,reviews'; Vince Click Here for Shopping Cart SoftwareClick Here to sign up for our newsletterClick Here for the latest updater
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/10/2023 : 09:13:38
I understand, however I want the descriptions to appear on most of my detail pages. Thanks.
|
1818charlie
ECT Moderator
United Kingdom
1197 Posts |
Posted - 03/10/2023 : 10:48:32
Hi Charlotte
Just a thought but in the admin you could just comment out the descriptions using <!-- Description --> if this is only for a few products that will only appear on a custom page
Steve
Edited by - 1818charlie on 03/10/2023 10:56:33
|
charmarsh
Ecommerce Template Expert
USA
950 Posts |
Posted - 03/10/2023 : 12:29:49
Interesting. I'll give it a try. Thanks
|
|
|