Search:

Type: Posts; User: Famine_1

Search: Search took 0.01 seconds.

  1. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I am having an issue when someone comes back after the PayPal information is inputted my code runs on the next page but does not execute everything.
  2. Stop add to cart of products with certain attributes after a time

    What I said in the title, so far I have something along the lines of this but for convenience, I have been working in the "includes/classes/shopping_cart.php"
    but I can't seem to find out how to...
  3. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Renaming the class to ot_delivery worked!
  4. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Both the language file and the order total module are named ot_delivery.php.
  5. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Is anyone able to help with this?
  6. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Okay So far I have this:



    <?php

    class delivery extends base
    {
    public function __construct ()
    {
  7. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Everything else has worked so far, but I would like to test for an attribute on these products then if that attribute is selected add a price to the value and this price has to be one price, not an...
  8. Re: Stop purchase of only some products after daytime

    Yes, I am asking how/where I would make this.
  9. Stop purchase of only some products after daytime

    So I need to test for products in the shopping cart that have a daytime buying parameter? So, I need to add a time limit during the day for some products so that they cannot buy those products after...
  10. Re: Create a shipping module for only some products

    Let me rephrase this. Can I create a local delivery only option for some products that end up in the shopping cart? I know I would have to make a "shipping module" for this to work. Can I test for...
  11. Create a shipping module for only some products

    How do I create a shipping module to only work with some products, or is this already a feature I could use?
    These products need to be for delivery while the other products are not. This delivery...
  12. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    That worked!
  13. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I have also tried



    $order->info->comments

    and


    $order['info']['comments']
  14. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I am having trouble pulling the comments though.. I have tried:



    $order->info['comments']


    But it does not work..
  15. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Thank you! This worked, I got the first stuff but could not figure out the showing of the products.
  16. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    This is the code I have so far and it sends the email but it sends two if two products are bought at the same time, so I just need it to send all in one email.
    There has to be a way to wait for the...
  17. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Currently, we have everything working including sending the emails per product ordered. But what we need to get working is to have the case test send all info through one email instead of multiple.
    ...
  18. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I am trying to email the attributes when a product is bought.



    // Attributes
    $product['attributes']['option'] .
    "\n" .
    ...
  19. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I have tried these but they do not pull the attributes.
  20. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I have gotten everything else I need to work work. But I can't get the attributes to pull I have tried the following.




    $product->attributes['option']
    $product->attribute['option']
    ...
  21. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    We have a restaurant that sells food and we need to handle his food order that comes in, we need to put a time frame on those items so those items can only be ordered at certain times. Then we need...
  22. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I have been trying to pull the product id inside of the order.php file here is what I have so far but it does not seem to work.



    if ($this->products['id'] == 1) {
    // do something
    }

    ...
  23. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    The $order->customer['firstname'] adn $order->customer['lastname'] do not display the first and last names in the email.
  24. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Here is the current code I have tried to get working. But I cant seem to figure out how to make it work.



    protected function processProducts($products)
    {
    foreach ($products as...
  25. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Are you saying I can still use the $email_order variable in this file to send the same email? Or do I have to call the $order var before it?
  26. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    Turns out I am still a bit confused.. Here is a function I want to run a copy of the admin email in this file, how can I achieve this because when the email fires it only gives the info defined in...
  27. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    This should work for what I need to do. I should be able to do what I need to from here thanks for the help!
  28. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I will look into trying to create an observer for what I need to do, that might be the best option for what I am doing. Thank you!
  29. Replies
    56
    Views
    1,454

    v157 Re: Adding special function when order is placed

    I'm looking to do this when the order is placed at about the same time the order.php file is run. But I have no idea where to put my own code so that it 1. does not conflict with the existing code 2....
  30. Replies
    56
    Views
    1,454

    v157 Adding special function when order is placed

    Hello, I would like to make it so when an order is placed from a specific product it does something Zencart cant.

    What file/file folder should I put this file in so when a product is purchased it...
  31. Re: Need to send emails to supplier per product sale

    Is it that hard to send emails when only certain products are sold? Does zen cart not already have things defined for products so I could use those definitions to send emails when there sold?
  32. Need to send emails to supplier per product sale

    I need to send emails to my clients when their product is sold but I do not want to give them access to the admin, so how can I change the code to send to multiple people emails when products are...
  33. Send per product Emails.

    I need to send an email per product/category on my site so people without admin access I can send an email for product sales too.

    As well as that I need to send print receipts to a printer when...
  34. Replies
    3
    Views
    404

    v157 Re: How to get order for food delivery?

    Okay... But how do I make this?
  35. Replies
    3
    Views
    404

    v157 How to get order for food delivery?

    I have searched this website but could not find a good solution so far from the already posted topics.

    I have been trying to get Zen cart to perform in the manner of being able to take orders for...
Results 1 to 35 of 35
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR