Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 help with custom products page
Author « Topic »  

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

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
10272 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
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/07/2023 :  08:16:11  
Fixed,
This is a good one to keep handy.
Thank you David

dbdave
ECT Moderator

USA
10272 Posts

Posted - 03/07/2023 :  10:36:43  

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

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
10272 Posts

Posted - 03/08/2023 :  21:24:09  
Hi, I believe this may be what you're after.
https://www.ecommercetemplates.com/help/css-layouts.asp#proddetailorder

David

Phil
ECT Moderator

United Kingdom
7619 Posts

Posted - 03/09/2023 :  02:01:48  
Dave's suggestion is fine but that would remove the short and long descriptions from all the detail pages.

You could remove them on one detail page by creating a static page for that one product as described here - https://www.ecommercetemplates.com/seo/static-url-php.asp
quote:

Specifically I want to hide the short and long description on one detail page.


Why not just remove them from within the product admin for that one product? Am I missing something?



*Contact Us*
*Buy The PHP Capture Card Plugin*
*Rate Our Services/View Our Feedback*

Edited by - Phil on 03/09/2023 02:02:23

dbdave
ECT Moderator

USA
10272 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
933 Posts

Pre-sales questions only
(More Details...)

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

42462 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 Software
Click Here to sign up for our newsletter
Click Here for the latest updater

charmarsh
Ecommerce Template Expert

USA
933 Posts

Pre-sales questions only
(More Details...)

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
1179 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
933 Posts

Pre-sales questions only
(More Details...)

Posted - 03/10/2023 :  12:29:49  
Interesting. I'll give it a try.
Thanks
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.03 seconds. Snitz Forums 2000