Forums / Setting Up Categories, Products, Attributes / product page as homepage / check out button

product page as homepage / check out button

Locked

Views: 2,101

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
3 May 2008, 5:55 PM
#1
intersign avatar

intersign

New Zenner

Join Date:
Mar 2008
Posts:
24
Plugin Contributions:
0

product page as homepage / check out button

I have one product for sale with a couple of attributes (options).
From the original website there is a "I buy Now" button to land on the Zen sale page.

I need help with two Questions:
1: is it possible to have this page:
http://hopmanhome.com/zen/index.php?main_page=product_info&cPath=2&products_id=2
as the home page?
I know I can use this link from ny website but as soon the customers go back and forward in Zen he will get confused to come on a other home page.

2: on the product webpage is a "add this to my cart" button. I am looking for a "check out" button in stead. this feature is available in the header link but it is much more logic to have this in the middle of the page (on the spot of add this to my cart)

3 May 2008, 6:12 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: product page as homepage / check out button

If you do not want a left column

admin > config > layout settings > Column Left Status - Global > set to "0"

Try some of these settings

admin > config > layout settings > Customer Greeting - Show on Index Page
admin > config > layout settings > Categories - Always Show on Main Page
admin > config > layout settings > Main Page - Opens with Category

Zen-Venom Get Bitten

3 May 2008, 7:20 PM
#3
intersign avatar

intersign

New Zenner

Join Date:
Mar 2008
Posts:
24
Plugin Contributions:
0

Re: product page as homepage / check out button

I updated the settings as proposed.

Do still see same content on http://hopmanhome.com/zen/ in stead of the content of
http://hopmanhome.com/zen/index.php?main_page=product_info&cPath=2&products_id=2
on the homepage. Is it possible to change this?

Also are there ideas to have the check out button on this page in stead of the add to the cart button?

14 May 2008, 12:30 PM
#4
hemz avatar

hemz

New Zenner

Join Date:
Dec 2007
Location:
brighton UK
Posts:
40
Plugin Contributions:
0

Re: product page as homepage / check out button

I would also like this functionality.

It certainly would make more sense to have a goto checkout button just below the add the cart button.

Does any one know how to do this?

I guess by the lack of response to the original thread - that would be a no...

:no:

?

it's better to light a candle than curse the darkness

search engine marketing

14 May 2008, 1:09 PM
#5
hemz avatar

hemz

New Zenner

Join Date:
Dec 2007
Location:
brighton UK
Posts:
40
Plugin Contributions:
0

Re: product page as homepage / check out button

looks like you just have to get

<!--bof checkout button --> <div class="buttonRow" style="float:right; margin-right:18px; margin-top:10px;"><?php echo '<a href="' . zen_href_link(FILENAME_CHECKOUT_SHIPPING, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div> <!--eof checkout button -->

from tpl_shopping_cart_default.php

to

tpl_product_info_display.php

wherever you like

:smartalec:

it's better to light a candle than curse the darkness

search engine marketing

14 May 2008, 3:28 PM
#6
hemz avatar

hemz

New Zenner

Join Date:
Dec 2007
Location:
brighton UK
Posts:
40
Plugin Contributions:
0

Re: product page as homepage / check out button

actually its

<div class="buttonRow" php echo '<a href="' . zen_href_link(FILENAME_SHOPPING_CART, '', 'SSL') . '">' . zen_image_button(BUTTON_IMAGE_CHECKOUT, BUTTON_CHECKOUT_ALT) . '</a>'; ?></div>

:smile:

it's better to light a candle than curse the darkness

search engine marketing

14 May 2008, 4:40 PM
#7
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: product page as homepage / check out button

Until you have the item in your cart, going to checkout won't help you. You will need to include the add functionality into the checkout button.

15 May 2008, 9:31 AM
#8
hemz avatar

hemz

New Zenner

Join Date:
Dec 2007
Location:
brighton UK
Posts:
40
Plugin Contributions:
0

Re: product page as homepage / check out button

sure...

it will just say

"Your Shopping Cart is empty."

if you dont have anything in it... but if you have things in it you will be able to goto the checkout

no?

:smile:

it's better to light a candle than curse the darkness

search engine marketing

20 May 2008, 4:11 AM
#9
intersign avatar

intersign

New Zenner

Join Date:
Mar 2008
Posts:
24
Plugin Contributions:
0

Re: product page as homepage / check out button

I just tried the following advice and it worked.

Make sure your Admin -> Configuration -> My Store -> Display Cart After Adding Product = True

Open file:

/includes/init_includes/init_cart_handler.php

Look for the following:

PHP:

if (DISPLAY_CART == 'true') {
$goto = FILENAME_SHOPPING_CART;

Change: FILENAME_SHOPPING_CART to FILENAME_CHECKOUT_SHIPPING

Once this is done and your customer clicks that button to add the item to the cart, it adds it and takes them directly to Checkout. Since Checkout requires a login process, it asked for a username/password on my site. Maybe your is setup different and it will not ask.

Make a backup of that file before doing anything. If this doesn't work or it's wrong advice, you will be able to just restore the backup file and be back to where you are now.

I am still not sure if I am going to use it. Sometimes you see only one page with a product (with some selectable options) and check out fill out information. This make it look very simple and is, I think, very convenient for the customer.

I was not able to find this kind of page on ZenCart. If somebody could help me with this I would appreciated it.