Author Topic: Show the checkoutlink inside the productdetails page?  (Read 1111 times)

be

  • Beginner
  • *
  • Posts: 36
Show the checkoutlink inside the productdetails page?
« on: November 02, 2012, 17:00:49 pm »
Hi,
how can I insered the checkout link
Code: [Select]
<?php echo $this->checkout_link_html;?>inside the productdetails page?
I need another var for $this. I´m not a little bad in PHP  :-\.

BR

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10412
  • VirtueMart Version: 3+
Re: Show the checkoutlink inside the productdetails page?
« Reply #1 on: November 02, 2012, 17:29:51 pm »


<?php $checkouturl = JRoute::_('index.php?option=com_virtuemart&view=cart');?>
<a href="<?php echo $checkouturl ?>">Checkout</a>
J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)

be

  • Beginner
  • *
  • Posts: 36
Re: Show the checkoutlink inside the productdetails page?
« Reply #2 on: November 03, 2012, 18:27:00 pm »
Hi,
thank you for your reply.
But I don´t mean the "addcart button".
I want that the customer is redirecting directly to the checkout, there where the link ist named "Check Out Now".

I have products in my shop who customers are order only one pice and I want to make the orderprocess easier.

BR

PRO

  • Global Moderator
  • Super Hero
  • *
  • Posts: 10412
  • VirtueMart Version: 3+
Re: Show the checkoutlink inside the productdetails page?
« Reply #3 on: November 04, 2012, 14:53:50 pm »
Hi,
thank you for your reply.
But I don´t mean the "addcart button".
I want that the customer is redirecting directly to the checkout, there where the link ist named "Check Out Now".

I have products in my shop who customers are order only one pice and I want to make the orderprocess easier.

BR


in configuration, turn off "add to cart modal"

J3.9+ VM 3.4.2
Slowest Page Speed Score (88) (Category)
Fastest Page Speed Score (94-96) (productdetails)