If this is your first visit, check our documentation. To post, register or login.
Forums / Business Issues / Other Business Topics / Several questions

Several questions

Started by shags38 on 4 Jul 2017, 6:54 AM · Views: 290

Results 1 to 20 of 27
4 Jul 2017, 6:54 AM
#1
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Several questions

I am working on a new clean 1.5.5e installation - I cannot find one so I assume there is no tutorial for this template?

I would very much appreciate some help with the following questions please;

Q1. Where can I set layout for columns - current out of the box layout is single column, I would like to set it for 3 columns.
Q2. Header area is full width of the screen however page and side columns are less - how can I increase page width or alternatively reduce header width?
Q3. on products Category page between page text and products is a multi colored box with 'filter results', 'now showing, etc etc - (a) how can this be switched off? and (b) where will I find the .css for this to alter size, colors, text etc ?
Q4. How can I move 'specials, above 'new products' on the index page?
Q5. on products Category page how can I change qty in 'add' box from zero to 1 ?
Q6. How can I add a 'Buy Now' box next to the 'add' / 'add to cart' boxes on Category and Product Info pages?

many thanks,
Mike

11 Jul 2017, 12:43 AM
#2
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

shags38:

I am working on a new clean 1.5.5e installation - I cannot find one so I assume there is no tutorial for this template?

I would very much appreciate some help with the following questions please;

Q1. Where can I set layout for columns - current out of the box layout is single column, I would like to set it for 3 columns.
Q2. Header area is full width of the screen however page and side columns are less - how can I increase page width or alternatively reduce header width?
Q3. on products Category page between page text and products is a multi colored box with 'filter results', 'now showing, etc etc - (a) how can this be switched off? and (b) where will I find the .css for this to alter size, colors, text etc ?
Q4. How can I move 'specials, above 'new products' on the index page?
Q5. on products Category page how can I change qty in 'add' box from zero to 1 ?
Q6. How can I add a 'Buy Now' box next to the 'add' / 'add to cart' boxes on Category and Product Info pages?

many thanks,
Mike

So just wondering why no-one has offered a response to this post? did I ask too many questions? should I use separate posts for each question?

cheers,
Mike

11 Jul 2017, 2:42 AM
#3
dbltoe avatar

dbltoe

Totally Zenned

Join Date:
Jan 2004
Location:
N of San Antonio TX
Posts:
9,904
Plugin Contributions:
23

Re: Several questions

shags38:

So just wondering why no-one has offered a response to this post? did I ask too many questions? should I use separate posts for each question?
cheers,
Mike
If you want someone to do the work for you, you should at least provide the research:P Everything you have asked can be greatly effected by several things. Even a "clean install" can be different if the install used an hosting-company-provided-auto-installer. Try answering as many of the posting tips as possible. Notice, item three addresses the "clean install."
Include a url.
Helping move, remove, brighten, darken, shove, rearrange, etc is a lot easier when we can see what we're doing. In this case, a picture is NOT worth a thousand words.

Need a hand with Zen Cart? Hire the team at myZenCartZone.com for upgrades, repairs, and custom plugins.
Zen Cart Certified hosting at myZenCartHost.com

11 Jul 2017, 3:27 AM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

I am working on a new clean 1.5.5e installation - I cannot find one so I assume there is no tutorial for this template?

I would very much appreciate some help with the following questions please;

Q1. Where can I set layout for columns - current out of the box layout is single column, I would like to set it for 3 columns.
Q2. Header area is full width of the screen however page and side columns are less - how can I increase page width or alternatively reduce header width?
Q3. on products Category page between page text and products is a multi colored box with 'filter results', 'now showing, etc etc - (a) how can this be switched off? and (b) where will I find the .css for this to alter size, colors, text etc ?
Q4. How can I move 'specials, above 'new products' on the index page?
Q5. on products Category page how can I change qty in 'add' box from zero to 1 ?
Q6. How can I add a 'Buy Now' box next to the 'add' / 'add to cart' boxes on Category and Product Info pages?

many thanks,
Mike

shags38:

So just wondering why no-one has offered a response to this post? did I ask too many questions? should I use separate posts for each question?

cheers,
Mike

Mike, most of them aren't related to this specific template at all.

  1. I'm not sure what you mean. On desktop, the default I see is 3 columns. Some will disappear when the screen is too narrow, because it's programmed to do that (that's what "responsive" means).

  2. For any template (not just this one): This typically requires changing the location of a div wrapper. If it needs to be moved up above others, then that's likely in tpl_main_page. Or maybe it's just a css width to set.

  3. For any template (not just this one): I think the "filter results" box might be configurable with an admin switch. This would affect all templates (er, well, all that haven't tampered with the PHP code that handles it). For the CSS, right-click on the element, choose "inspect element", look at the CSS properties of that item. Then look in the .css files for the corresponding directives.

  4. For any template (not just this one): Admin->Configuration->Index Listing ... here you can re-order the display of all those centerboxes.

  5. For any template (not just this one): That may be moot, depending on the changes you make in #6 below. Else you may need to edit the modules/product_listing.php template to change the '0\ to '1\

  6. For any template (not just this one): Admin->Configuration->Product Listing

  • Display Multiple Products Qty Box Status and Set Button Location
  • Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)and
    Admin->Configuration->Product Info: Product Quantity Box Status - Adding New Products

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

11 Jul 2017, 7:41 AM
#5
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

Mike, most of them aren't related to this specific template at all.

  1. I'm not sure what you mean. On desktop, the default I see is 3 columns. Some will disappear when the screen is too narrow, because it's programmed to do that (that's what "responsive" means).

  2. For any template (not just this one): This typically requires changing the location of a div wrapper. If it needs to be moved up above others, then that's likely in tpl_main_page. Or maybe it's just a css width to set.

  3. For any template (not just this one): I think the "filter results" box might be configurable with an admin switch. This would affect all templates (er, well, all that haven't tampered with the PHP code that handles it). For the CSS, right-click on the element, choose "inspect element", look at the CSS properties of that item. Then look in the .css files for the corresponding directives.

  4. For any template (not just this one): Admin->Configuration->Index Listing ... here you can re-order the display of all those centerboxes.

  5. For any template (not just this one): That may be moot, depending on the changes you make in #6 below. Else you may need to edit the modules/product_listing.php template to change the '0\ to '1\

  6. For any template (not just this one): Admin->Configuration->Product Listing

  • Display Multiple Products Qty Box Status and Set Button Location
  • Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)and
    Admin->Configuration->Product Info: Product Quantity Box Status - Adding New Products

Thanks very much for your reply Doc - you are right in that most questions are not specific to this template - your reference's to 'any template (not just this one) are noted and would probably cause some embarrassment to a professional website developer/builder - unfortunately I am not, I'm just a senior citizen marketer/entrepreneur trying his best.

  1. I'm not sure what you mean. On desktop, the default I see is 3 columns. Some will disappear when the screen is too narrow, because it's programmed to do that (that's what "responsive" means).

attached are two screenshots - one is of the index page showing specials and new products in 3 column format whilst the other is of a category page showing single column format. There is nowhere in admin/configuration to set number of columns, no at all (not in layout_settings, product_listing or any other section as I went through them all a number of times) as there is in my current 'Responsive' 1.5.1 template - hence my question, 'where can I set number of columns?'

  1. For any template (not just this one): This typically requires changing the location of a div wrapper. If it needs to be moved up above others, then that's likely in tpl_main_page. Or maybe it's just a css width to set.
    thanks for the guidance - will check them both out
  1. For any template (not just this one): I think the "filter results" box might be configurable with an admin switch. This would affect all templates (er, well, all that haven't tampered with the PHP code that handles it). For the CSS, right-click on the element, choose "inspect element", look at the CSS properties of that item. Then look in the .css files for the corresponding directives.
    In admin/configuration/product_listing I can configure the top section of that div? or box as I will call it that has 3 sections to it by switching it off but other two sections still show. I have used the inspect element but it will take me a while to decipher what it means but I will churn through it.
  1. For any template (not just this one): Admin->Configuration->Index Listing ... here you can re-order the display of all those centerboxes.
    Thanks - will play with it - the reason I didn't look there is on the 1.5.1 template I am using Anne said in the forum it required .css changes if my memory serves me correctly - didn't know it would be that simple :)
  1. For any template (not just this one): That may be moot, depending on the changes you make in #6 below. Else you may need to edit the modules/product_listing.php template to change the '0\ to '1\

  2. For any template (not just this one): Admin->Configuration->Product Listing

  • Display Multiple Products Qty Box Status and Set Button Location
  • Display Product Add to Cart Button (0=off; 1=on; 2=on with Qty Box per Product)and
    Admin->Configuration->Product Info: Product Quantity Box Status - Adding New Products

OK - made the change so that 'buy now' appears next to product in category listings -just what I wanted ..... but also wanted to add that 'buy now' box on the item product info page alongside or above the 'add to cart' button - I would imagine it would require modifying the .css file so I will play around with that.

Again many thanks for your guidance - I will now get to work modifying a few things.

kind regards,
Mike

11 Jul 2017, 7:52 AM
#6
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

Re original Q1. Page adjustment to full screen - where is that adjusted? - you can see in images that page is smaller than the header which is full screen

url http://www.sterlingsilverrings.com.au/1.5.5eVersion/ ..... this is the site I am using as an upgrade trial

two images not attached to above post - showing single column on product listing page and 3 column for new products and specials
[Attachment no longer available]
[Attachment no longer available]

11 Jul 2017, 10:15 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

shags38:

Q1. Where can I set layout for columns - current out of the box layout is single column, I would like to set it for 3 columns.
attached are two screenshots - one is of the index page showing specials and new products in 3 column format whilst the other is of a category page showing single column format. There is nowhere in admin/configuration to set number of columns, no at all (not in layout_settings, product_listing or any other section as I went through them all a number of times) as there is in my current 'Responsive' 1.5.1 template - hence my question, 'where can I set number of columns?'
Oh.
I'm used to, when people say "3 columns" vs "single column", they're referring to a left-and-right sidebar with main page content in between. Which is happening correctly.

What you're referring to is something we more commonly describe as "row vs grid" layout for product listings.
Most often people end up using this mod to accommodate that: Column Layout Grid for Product Listing ... I don't think it's been updated for v1.5.5 though.
Or there's a variant of that one: Flexible Product Listing

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 Jul 2017, 3:12 AM
#8
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

Working through each of your suggestions

DrByte:

Column Layout Grid for Product Listing
... I don't think it's been updated for v1.5.5 though.
Does work with 1.5.5e- thanks
cheers,
Mike

12 Jul 2017, 5:45 AM
#9
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

I have only 2 queries now (down from 6 :) ) -

1. getting page width to be full width of screen - likely a .css adjustment but which .css file and which line?
stylesheet.css section I thought it should be but mainWrapper size is already 100% ?

/*bof wrappers - page or section containers*/
#mainWrapper {text-align:left;width:100%;vertical-align:top;}
#headerWrapper, #contentMainWrapper, #logoWrapper, #cartBoxListWrapper, #ezPageBoxList, #cartBoxListWrapper ul, #ezPageBoxList ul, #mainWrapper, #popupAdditionalImage,
#popupImage {margin:0;padding:0;}
#contentMainWrapper{padding-bottom:30px;}
#navColumnOneWrapper, #navColumnTwoWrapper, #mainWrapper{margin:auto;}
#mainWrapper{}
#sendSpendWrapper {padding:20px 0;width:100%;}
#sendSpendWrapper .buttonRow{margin-right:20px;}
.floatingBox, #accountLinksWrapper, #checkoutShipto, #checkoutBillto, #navEZPagesTOCWrapper {margin:0;width:47%;}
.floatingBox{width:46%;}
#loginDefault .floatingBox{min-height:240px;}
.shippingEstimatorWrapper {padding:0.5em;}

2. having 'buy now' button appear directly below the ' add to cart' button on the product info page.

using developer in Firefox and Inspect element this research is the best I can come up with as to where it should go?

includes/templates/tpl_product_info_display.php

this section determines the display of the add to cart box - so how & what code can I add to this template to add the 'buy now' button before </div>

<!--bof Add to Cart Box -->
<?php
if (CUSTOMERS_APPROVAL == 3 and TEXT_LOGIN_FOR_PRICE_BUTTON_REPLACE_SHOWROOM == '') {
  // do nothing
} else {
?>
<?php
    $display_qty = (($flag_show_product_info_in_cart_qty == 1 and $_SESSION['cart']->in_cart($_GET['products_id'])) ? '<p>' . PRODUCTS_ORDER_QTY_TEXT_IN_CART . $_SESSION['cart']->get_quantity($_GET['products_id']) . '</p>' : '');
    if ($products_qty_box_status == 0 or $products_quantity_order_max== 1) {
      // hide the quantity box and default to 1
      $the_button = '<input type="hidden" name="cart_quantity" value="1" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
    } else {
      // show the quantity box
      $the_button = '<div class="max-qty">' . zen_get_products_quantity_min_units_display((int)$_GET['products_id']) . '</div><span class="qty-text">' . PRODUCTS_ORDER_QTY_TEXT . '</span><input type="text" name="cart_quantity" value="' . (zen_get_buy_now_qty($_GET['products_id'])) . '" maxlength="6" size="4" />' . zen_draw_hidden_field('products_id', (int)$_GET['products_id']) . zen_image_submit(BUTTON_IMAGE_IN_CART, BUTTON_IN_CART_ALT);
    }
    $display_button = zen_get_buy_now_button($_GET['products_id'], $the_button);
?>
<?php if ($display_qty != '' or $display_button != '') { ?>
    <div id="cartAdd">
    <?php
      echo $display_qty;
      echo $display_button;
?>
          </div>
<?php   } // display qty and button ?>
<?php } // CUSTOMERS_APPROVAL == 3 ?>
<!--eof Add to Cart Box-->
</div>
</div>

found this code for the 'buy now' button on the product_listing page? http://www.sterlingsilverrings.com.au/1.5.5eVersion/index.php?main_page=index&cPath=65

<a href="http://www.sterlingsilverrings.com.au/1.5.5eVersion/index.php?main_page=index&cPath=65&sort=2 0a&action=buy_now&products_id=257"><span class="cssButton normal_button button  button_buy_now" onmouseover="this.className='cssButtonHover normal_button button  button_buy_now button_buy_nowHover'" onmouseout="this.className='cssButton normal_button button  button_buy_now'" class="listingBuyNowButton"> Buy Now </span></a>

or am I barking up the wrong tree?

cheers,
Mike

15 Jul 2017, 12:35 AM
#10
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

2. having 'buy now' button appear directly below the ' add to cart' button on the product info page.
To clarify ... am I correct in interpreting this that you want BOTH an add-to-cart AND a buy-now button right next to each other?

I've always disliked when sites do that. To me it creates confusion: 'which one should I pick?', and any confusion is a reason for the customer to do nothing. The best conversion rates I've seen have been where Buy Now is used as the wording, regardless of whether the background action is "take me directly to checkout" or merely "add the item to my basket, and show my basket to me".
The only logical exception I've seen for this is in the case of an Auction, where "buy now" means "cancel the auction: I'm gonna buy it at the highest price, right now".

But, surely there's a solid well-considered business reason why you're attempting this. What is it?

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2017, 12:40 AM
#11
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

1. getting page width to be full width of screen - likely a .css adjustment but which .css file and which line?
stylesheet.css section I thought it should be but mainWrapper size is already 100% ?
Looks like stylesheet.css line 55. You could remove the !important from it:```
onerow-fluid {
[B]width: 75% !important;[/B]
margin: auto;
}


Then you'll have other alignment issues to address, but that's what's making it only cover 75% of the width.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2017, 1:41 AM
#12
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

To clarify ... am I correct in interpreting this that you want BOTH an add-to-cart AND a buy-now button right next to each other?

I've always disliked when sites do that. To me it creates confusion: 'which one should I pick?', and any confusion is a reason for the customer to do nothing. The best conversion rates I've seen have been where Buy Now is used as the wording, regardless of whether the background action is "take me directly to checkout" or merely "add the item to my basket, and show my basket to me".
The only logical exception I've seen for this is in the case of an Auction, where "buy now" means "cancel the auction: I'm gonna buy it at the highest price, right now".

But, surely there's a solid well-considered business reason why you're attempting this. What is it?

Thanks Doc - I can see your viewpoint however I see it differently. 'add to cart' is not a commitment to purchase (or any form of commitment for that matter) whereas 'buy now' is a commitment to purchase, or at least proceed with the purchasing process. Adding an item to a cart allows for further 'browsing' and time to be distracted or to lose the 'WOW' impact factor - there are a couple of plugins in here based on contacting those who left things in their cart, as is done with many other platforms ... one reason why is there is no commitment, adding to a cart in many cases is not a purchasing decision and many just toss things into the cart as 'wish list' items (a 'wish list' plugin is available in here, developed I suspect to differentiate between 'lookers' and 'buyers').

I sell jewelry which is in the main an impulse purchase - 'that's gorgeous, I have to have it' or a 'buy now' kind of moment which needs to be captured. If someone is an astute, less impulsive purchaser they will add it to the cart and continue to look around - I need to cater for both types.

Interestingly ETSY recently allowed for 'Guests' to purchase and incorporated a 'buy now' button above the add to cart button suggesting buyer psychology at that 'wow' point is to go to their purse, (see image attached), and sales across the board have increased for us in our shops, and for Etsy in general going by comments in forums.
[Attachment no longer available]
As much as I have ZC websites for 'Harmony Balls' ranking on page 1 in AU and .COM search engines (for a variety of keywords), Etsy still outsells them combined, it attracts a certain demographic looking for quality that better suits my products. For the type of products I sell I use what Etsy does as a guideline (I really do like the Etsy platform as you may have noticed over a period of time - hence the development of the Product_Sorter plugin).

So I do want to have that 'buy now' button above the 'add to cart' button (rather than alongside). I just need a helping hand on how to go about achieving that :smile:

cheers,
Mike

15 Jul 2017, 1:57 AM
#13
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

Looks like stylesheet.css line 55. You could remove the !important from it:```
onerow-fluid {
[B]width: 75% !important;[/B]
margin: auto;
}

> 
> Then you'll have other alignment issues to address, but that's what's making it only cover 75% of the width.

Many thanks Doc - I adjusted 75% to 90% for a better look (didn't remove 'important!') - not seeing any alignment issues as yet but haven't tried it on mobile / tablet yet.
cheers, Mike
15 Jul 2017, 1:59 AM
#14
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

Have you tested whether simply changing the text for "Add to Cart" to say "Buy Now" actually accomplishes the same increased conversion factor?

As for adding code to show both, yes, the code you quoted shows you're going down the right path. Keep in mind that it'll only work that way if none of your products have attributes.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Jul 2017, 2:51 AM
#15
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

Have you tested whether simply changing the text for "Add to Cart" to say "Buy Now" actually accomplishes the same increased conversion factor?

As for adding code to show both, yes, the code you quoted shows you're going down the right path. Keep in mind that it'll only work that way if none of your products have attributes.

I haven't done that as this is a test for upgrading all my sites to 1.5.5e doing it on a poor performing site at this stage so even going live when I am finished will not give me any usable data. I will set up both functions and when I do go ahead and upgrade all sites with that feature using this modified template I will track the data through analytics over a 3 month period or so - if not producing desirable results I may delete that extra button.

So in respect to being on the right track with that code - all I did was isolate that as likely with the thought in mind to duplicate it but with the 'buy now' function (call) instead of add to cart, and then add that modified code to the file as additional to the existing one - is that the way to do it? (out of my depth here I think).

thanks again,
Mike

16 Jul 2017, 12:46 AM
#16
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

To be clear: the end-result of clicking Buy Now is actually the same destination as clicking Add To Cart, right? Both will take you to the Shopping Cart page, where a "checkout" button is the most obvious call-to-action.

It's just the psychological value of the wording that you're after, right?

(If that's what you're after, then the solution is simple: duplicate the add-to-cart button code but have it simply display the buy-now text/button instead.)
(If you want clicking Buy Now to jump them directly into checkout, bypassing the display of their basket, then the code is a lot more complicated, because it involves bypassing a bunch of things using logic that is not built-in by default.)

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jul 2017, 12:54 AM
#17
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

To be clear: the end-result of clicking Buy Now is actually the same destination as clicking Add To Cart, right? Both will take you to the Shopping Cart page, where a "checkout" button is the most obvious call-to-action.

It's just the psychological value of the wording that you're after, right?

(If that's what you're after, then the solution is simple: duplicate the add-to-cart button code but have it simply display the buy-now text/button instead.)
(If you want clicking Buy Now to jump them directly into checkout, bypassing the display of their basket, then the code is a lot more complicated, because it involves bypassing a bunch of things using logic that is not built-in by default.)

Thanks Doc - the objective was to have 'Buy Now' go directly to the PayPal page - so your solution above is what I will try in respect to getting two buttons on the page and then I can change the existing buy now button to resolve directly to PayPal (as a guest checkout) - maybe even create a new button 'Buy Now - Express Checkout' - well that is the plan anyway.

many thanks for your help,
cheers,
Mike

21 Jul 2017, 3:58 AM
#18
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

Thanks Doc - the objective was to have 'Buy Now' go directly to the PayPal page - so your solution above is what I will try in respect to getting two buttons on the page and then I can change the existing buy now button to resolve directly to PayPal (as a guest checkout) - maybe even create a new button 'Buy Now - Express Checkout' - well that is the plan anyway.

many thanks for your help,
cheers,
Mike
Mike,
In the future, it would be A MILLION TIMES more helpful if you'd said you simply want to add a Buy Now Button "that goes directly to PayPal". Leaving out that detail changes everything, since you're intending to completely bypass the cart's checkout and bypass storing the sale in your store. If you want that, just login to PayPal, go to their Button Generator page, and create your Buy Now button there, and drop the HTML button code they give you into the product description HTML in a spot lets it show up "somewhat close" to the normal built-in add-to-cart button.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

21 Jul 2017, 5:05 AM
#19
shags38 avatar

shags38

Totally Zenned

Join Date:
Jan 2011
Location:
Adelaide, Australia
Posts:
1,684
Plugin Contributions:
0

Re: Several questions

DrByte:

Mike,
In the future, it would be A MILLION TIMES more helpful if you'd said you simply want to add a Buy Now Button "that goes directly to PayPal". Leaving out that detail changes everything, since you're intending to completely bypass the cart's checkout and bypass storing the sale in your store. If you want that, just login to PayPal, go to their Button Generator page, and create your Buy Now button there, and drop the HTML button code they give you into the product description HTML in a spot lets it show up "somewhat close" to the normal built-in add-to-cart button.

The button process would be no different to the 'checkout with PayPal' button that exists on step 2 of the checkout process in v1.5.1 here https://www.harmonyballpendant.com/index.php?main_page=login and in the image below, i.e. the yellow PayPal button, i.e. for 'GUEST' checkout - however as you will see in that image because those wanting to check out as Guests invariably want to use a credit card they are averse to clicking a button that says 'PayPal' because they do not have a PayPal account or do not want to use it in this instance. This created havoc with 'Guest' customers (analytics showed a lot of customers leaving from this page and had numerous emails saying they wanted to use credit card but there was only a PayPal option) until I inserted that dialogue (which has helped but is not 'the' solution) and even then I should have changed the button to one that simply says 'Express Checkout' (but figured I would upgrade and that situation of Guest checkout would be taken care of) - I intend to use the 'Buy Now' button as the substituted for the yellow PayPal button.

I am trying to achieve eliminating currently what I regard as 2 unnecessary steps (2 pages, go to cart then checkout >> login page) before a Guest can actually start the payment process. If the customer is likely to be a return customer they may login and create an account, if not at the time of the first purchase then possibly at a future point. If not likely to be a return customer then why go through the creating an account phase? ... I don't. So on the product info page a customer cam 'add to cart' or 'buy now' - the add to cart will give them the option to either 'buy now' or 'create account' in the cart as it does now but in more customer friendly text.

I am unsure as to exactly how the cart works in 1.5.5e as in my trial site when I select 'buy now' from the category page I get 'your shopping cart is empty', and when I try to 'add to cart' on the product info page I get an error saying the session has timed out and I need to login again - problem is I have never logged in and do not particularly want to in this instance as a 'Guest' customer >>> www.sterlingsilverrings.com.au/1.5.5eVersion/index.php?main_page=time_out
I would expect that this is not normal and something has gone awry (nothing showing in logs) which I will try to sort out (any ideas as to what to look for?). It does answer one thing though that the 'buy now' button is really a 'got to cart' button.

Retaining customer details from a Guest checkout is not critical, the details are readily available from PayPal as all transactions go through their gateway (I do not use any other forms of payment) - more than 90% of my customers on my two most successful sites are not regular or returning customers as once they have one there is no need for another unless they lose it - it is the nature of the product type.

So again, I just would like to duplicate the layout and process that Etsy uses, or similar - it is efficient and is boosting sales.

cheers,
Mike

p.s. I believe the Guest checkout thing has been a topic of discussion for some time with a few plugins available including Numinix FEC but that solution bought with it some other problems.

[Attachment no longer available]
[Attachment no longer available]

21 Jul 2017, 5:46 AM
#20
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Re: Several questions

shags38:

I am trying to achieve eliminating currently what I regard as 2 unnecessary steps
Sure. Fine. Why didn't you say that back in the first post? The answers would have been more relevant. And the time I spent writing answers would have been more focused in the right direction.

And now you're continuing to digress from specific needs/wants into philosophical views about what the checkout flow should be like.

Convincing us that "you" need a different checkout flow is not necessary. If you need it, you need it. There are several options.

They're not specific to the Responsive Classic template, where you started this discussion. Thus I've moved the discussion to its own thread.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.