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
Forum Search
Google Site Search
 All Forums
 Technical
 PHP (Unix / Linux / Apache) versions
 $detailpagelayout="checkoutbutton" Not used now?
Author « Topic »  

ITZAP
Ecommerce Template Guru

Australia
1022 Posts

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

Posted - 10/24/2021 :  20:58:59  
Hi, just a quick question,

I am building and configuring a new website running the latest PHP v7.3.7.002 and was trying to get the Checkout button to appear on [brown]proddetail.php[/brown] using the includes.php parameter:

[font=Courier New][green]$detailpagelayout[/green]="productimage, productname, navigation, dateadded, sku, description, socialmedia, manufacturer, options, listprice, discounts, price, quantitypricing, quantity, addtocart, [maroon]checkoutbutton[/maroon], previousnext";[/font=Courier New]

But no checkout button appears
Checked the [url="https://www.ecommercetemplates.com/phphelp/ecommplus/parameters.asp#csslayout"][blue]PHP Parameters page[/blue][/url] which still says [maroon]checkoutbutton[/maroon] is a valid element for the [green]$detailpagelayout[/green] parameter.

Then opened 7.3.7.002 version of [brown]incproddetail.php[/brown] and Beyond Compared that to previous versions ... to discover at line 521:

[font=Courier New][navy]function[/navy] [green]pddcheckoutbutton[/green](){
// Not used now
}[/font=Courier New]

So omitting the option for a Checkout button on Product Detail pages was deliberate. But was there some particular reason why Vince ?

Regards,

Gary
[img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]

Edited by - ITZAP on 10/24/2021 21:02:35

ITZAP
Ecommerce Template Guru

Australia
1022 Posts

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

Posted - 10/24/2021 :  21:34:16  
Never mind Vince.
The obvious reason is, after "Add to Cart", the soft cart pop-up window displays a Checkout button.
All good, thanks

Gary
[img]https://itzap.com.au/pics/logo/itzap-website-design-works-mini-logo.png[/img]

Vince
Administrator

43241 Posts

Posted - 10/25/2021 :  02:05:05  
Hi Gary
While we're here, can I point out (just in case you didn't already know) that in later versions these two...
quantity, addtocart
...can be replaced by in the latest versions with just...
addtocartquant
This puts the add to cart button along with the quantity control in a container so it's easier to keep them aligned.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000