Page 3 of 3 FirstFirst 123
Results 21 to 24 of 24
  1. #21
    Join Date
    Apr 2014
    Posts
    154
    Plugin Contributions
    0

    Default Re: 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:

    Code:
      
    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:

    Code:
      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.

  2. #22
    Join Date
    Jul 2014
    Location
    Graz, Austria
    Posts
    14
    Plugin Contributions
    0

    Default 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 -> 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 :-)

  3. #23
    Join Date
    Jul 2014
    Location
    Graz, Austria
    Posts
    14
    Plugin Contributions
    0

    Default Re: Possibilities for price request

    No help ?

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

  4. #24
    Join Date
    Jul 2014
    Location
    Graz, Austria
    Posts
    14
    Plugin Contributions
    0

    Default Re: Possibilities for price request

    Quote Originally Posted by yaritai View Post
    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:

    Code:
      
    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:

    Code:
      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

 

 
Page 3 of 3 FirstFirst 123

Similar Threads

  1. Display no price/send request for quotation
    By ae123 in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Nov 2012, 11:36 AM
  2. several possibilities for download
    By goalsurfer in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 6 Jul 2010, 05:55 PM
  3. Admin possibilities for no online shops
    By camilleb in forum Managing Customers and Orders
    Replies: 3
    Last Post: 6 Feb 2009, 04:45 PM
  4. new user wondering about possibilities
    By saul11 in forum General Questions
    Replies: 3
    Last Post: 12 Mar 2007, 12:28 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg