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
 $detailpagelayout="checkoutbutton" Not used now?
Author « Topic »  

ITZAP
Ecommerce Template Guru

Australia
1010 Posts

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 proddetail.php using the includes.php parameter:

$detailpagelayout="productimage, productname, navigation, dateadded, sku, description, socialmedia, manufacturer, options, listprice, discounts, price, quantitypricing, quantity, addtocart, checkoutbutton, previousnext";

But no checkout button appears
Checked the PHP Parameters page which still says checkoutbutton is a valid element for the $detailpagelayout parameter.

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

function pddcheckoutbutton(){
// Not used now
}


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

Regards,

Gary

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

ITZAP
Ecommerce Template Guru

Australia
1010 Posts

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

Vince
Administrator

42474 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.03 seconds. Snitz Forums 2000