Forums / General Questions / Possibilities for price request

Possibilities for price request

Started by mindsick on 12 Jul 2014, 3:09 PM · Views: 2,373

Results 21 to 24 of 24
5 Aug 2014, 8:37 AM
#21
yaritai avatar

yaritai

Zen Follower

Join Date:
Apr 2014
Posts:
154
Plugin Contributions:
0

Possibilities for price request

Your checkout flow will be a pain for customers. For example, the shipping AND payment pages are pretty much useless now which the only thing that it is doing now is to say basically "Wait for a quote". Since your client has made it a priority to do this for ALL products in his store, why not just bypass those pages which takes them directly to the checkout_confirmation page?

To bypass the shipping page, just use the virtual products as a template. This is how virtual products are bypassed:

  
if ($order->content_type == 'virtual') {
    $_SESSION['shipping'] = 'free_free';
    $_SESSION['shipping']['title'] = 'free_free';
    $_SESSION['sendto'] = false;
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
  }

Now when I have done things like this in the past, I actually built in a admin side control so the store owner can turn it back to normal with a admin setting. So once you enter the admin side switch to the database and in the admin menu, you could use something like this:

  if (REQUEST_QUOTE == 'true') {
    $_SESSION['shipping'] = 'request_quote';
    $_SESSION['shipping']['title'] = 'request_quote';
    $_SESSION['sendto'] = $_SESSION['customer_default_address_id'];
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
  }

Change the shipping title to what you want displayed on the confirmation page. Also, do the same to bypass the payment page by passing the payment option of your choice. This would make it very easy for the site owner to have future flexibility if they want to revert back to a normal operating store by a flip of a switch from true to false.

11 Aug 2014, 2:35 PM
#22
mindsick avatar

mindsick

New Zenner

Join Date:
Jul 2014
Location:
Graz, Austria
Posts:
14
Plugin Contributions:
0

Re: Possibilities for price request

Ok buddys !

The shop is nearly finished, but there are some problems left.
First of all, here's the shop -> https://www.nanowest.at/ZC

If it helps you to solve my problem, you can create an account and put stuff in the Cart. You can even finish your order, I WON'T SEND ANY PRODUCTS to you :-)

I managed to not display any prices in the whole shop, just by removing the prices from the products, BUT in the shopping-cart there is still a "0,00€" beside the products and i want to get rid of that. I guess this value gets printed out by a php-function ... which one i have to delete? And in which file? So much about my first problem.

The next thing is, I want to change the text in the order-templates. I mean those three template you run through when hitting the button "pay" in shopping cart.
Shippinginfo (Step 1/3), Paymentinfo (Step 2/3) and i forgot about the last one, but you should know which three templates i mean.
I need to to edit them, to tell the cumstomer how the order-process is defined in my shop, "on his way to finish th

hope you guys can help one more time :-)

13 Aug 2014, 4:23 PM
#23
mindsick avatar

mindsick

New Zenner

Join Date:
Jul 2014
Location:
Graz, Austria
Posts:
14
Plugin Contributions:
0

Re: Possibilities for price request

No help ?

I want to get finished with this Problem guys :-)

14 Aug 2014, 1:10 PM
#24
mindsick avatar

mindsick

New Zenner

Join Date:
Jul 2014
Location:
Graz, Austria
Posts:
14
Plugin Contributions:
0

Re: Possibilities for price request

yaritai:

Your checkout flow will be a pain for customers. For example, the shipping AND payment pages are pretty much useless now which the only thing that it is doing now is to say basically "Wait for a quote". Since your client has made it a priority to do this for ALL products in his store, why not just bypass those pages which takes them directly to the checkout_confirmation page?

To bypass the shipping page, just use the virtual products as a template. This is how virtual products are bypassed:

if ($order->content_type == 'virtual') {
$_SESSION['shipping'] = 'free_free';
$_SESSION['shipping']['title'] = 'free_free';
$_SESSION['sendto'] = false;
zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
}

> 
> Now when I have done things like this in the past, I actually built in a admin side control so the store owner can turn it back to normal with a admin setting.  So once you enter the admin side switch to the database and in the admin menu, you could use something like this:
> 
> ```
  if (REQUEST_QUOTE == 'true') {
    $_SESSION['shipping'] = 'request_quote';
    $_SESSION['shipping']['title'] = 'request_quote';
    $_SESSION['sendto'] = $_SESSION['customer_default_address_id'];
    zen_redirect(zen_href_link(FILENAME_CHECKOUT_PAYMENT, '', 'SSL'));
  }

Change the shipping title to what you want displayed on the confirmation page. Also, do the same to bypass the payment page by passing the payment option of your choice. This would make it very easy for the site owner to have future flexibility if they want to revert back to a normal operating store by a flip of a switch from true to false.

I don't get it, where do i have to make those changes?
Sorry, I'm pretty new to php...

cheers