Page 3 of 6 FirstFirst 12345 ... LastLast
Results 21 to 30 of 57
  1. #21
    Join Date
    Feb 2007
    Posts
    47
    Plugin Contributions
    0

    help question Re: Delivery control

    I'm on ZC v1.3.8a.

    Click on "New Delivery" which takes me to

    http://www.mysite.com/shop/admin/del...php?action=new

    All that shows is the 'Delivery' title and nothing else.

    Suggestions?

  2. #22
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Default Re: Delivery control

    to thebeadyeye

    Hello.
    I have the same problem.

    I have not found an opportunity to solve a problem, but for the beginning in delivery_new.php I have added $action = $ _ REQUEST [' action ']; in the beginning of a file.
    It does not return value of a variable $action.

  3. #23
    Join Date
    Feb 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Delivery control

    Hi,

    Do you mean before:

    require('includes/application_top.php');

    I did that and i got this:

    Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/mysite/public_html/shop/admin/delivery_new.php on line 22

    I'm not all that experienced with php code.

    Is yours working?

    Thanks!

  4. #24
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Default Re: Delivery control

    Line 35





    // DELIVERY CONTROL by Loutka 31.12.2007
    //
    require('includes/application_top.php');

    define('ADDPRODUCT_TEXT_SELECT_PRODUCT', 'Select product...');
    define('ADDPRODUCT_TEXT_CONFIRM_QUANTITY', ' Enter product quantity.');
    define('ADDPRODUCT_TEXT_CONFIRM_ADDNOW', 'Add product to this delivery');

    // require(DIR_WS_CLASSES . 'delivery.php');
    /*
    $db->Execute("update " . TABLE_PRODUCTS . "
    set products_date_available = NULL
    where to_days(now()) > to_days(products_date_available)");

    */
    $action = $ _ REQUEST [' action '];
    if (zen_not_null($action)) {
    switch ($action) {

  5. #25
    Join Date
    Feb 2007
    Posts
    47
    Plugin Contributions
    0

    Default Re: Delivery control

    It still doesn't like it. I'm getting:

    Parse error: syntax error, unexpected T_STRING, expecting T_VARIABLE or '$' in /home/mysite/public_html/shop/admin/delivery_new.php on line 36

    Are you on ZC Version 1.3.8a?

  6. #26
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Default Re: Delivery control

    $action = $_REQUEST['action']; - yes
    $action = $ _ REQUEST [' action ']; - no

    Without blanks.
    Last edited by shrek99; 7 May 2008 at 09:18 AM.

  7. #27
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Default Re: Delivery control

    I have found a problem.
    At present I modify all module.
    I shall make, I shall lay out.

    A problem in it (delivery_new.php):
    $action = (isset($_GET['action']) ? $_GET['action'] : '');
    $dID = zen_db_prepare_input($_GET['dID']);
    $step = zen_db_prepare_input($_POST['step']);
    $add_product_categories_id = zen_db_prepare_input($_POST['add_product_categories_id']);
    $add_product_products_id = zen_db_prepare_input($_POST['add_product_products_id']);
    $add_product_quantity = zen_db_prepare_input($_POST['add_product_quantity']);

  8. #28
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Default Re: Delivery control

    The module works on 70%.
    It is necessary to correct still "Add product".
    I work above it.
    Attached Files Attached Files

  9. #29
    Join Date
    May 2008
    Posts
    9
    Plugin Contributions
    1

    Idea or Suggestion Re: Delivery control


    It is OK.
    If you do not use multilanguage it is necessary to remove:

    and pd.language_id='" . $_SESSION['languages_id'] ."'
    delivery.php
    Line 243

    and

    delivered.php
    Line 217

    and

    anddelivery_new.php
    Line 234
    Attached Files Attached Files

  10. #30
    Join Date
    May 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Delivery control

    Quote Originally Posted by jakumpe View Post
    When I try to install the SQL Patch through ZenCart it comes back as failed, when I try to install the SQL Patch through PHPMyAdmin I get an error that says
    Error

    SQL query:

    CREATE TABLE `delivery` ( `del_id` double NOT NULL AUTO_INCREMENT ,
    `del_name` varchar( 60 ) default NULL ,
    `del_date` date default '0000-00-00',
    `del_status` tinyint( 1 ) default '0',
    `del_delivered` date default '0000-00-00',
    PRIMARY KEY ( `del_id` )
    ) CREATE TABLE `delivery_products` ( `del_id` double NOT NULL default '0',
    `prod_id` double NOT NULL default '0',
    `prod_quantity` double default '0'
    )
    MySQL said:
    #1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'CREATE TABLE `delivery_products` (
    `del_id` double NOT NULL default '0',
    `' at line 10
    I got this message when I tried to install the module today as well, sadly I lack any coding experience other then edits I am told to make - would anyone care to try and help a noob out? at present the only other mods i have installed are super orders and google analytics.

    Thanks,

    Oisín

 

 
Page 3 of 6 FirstFirst 12345 ... LastLast

Similar Threads

  1. Per Item - But different prices for 1 day delivery, 3 day delivery etc.
    By rowby in forum Built-in Shipping and Payment Modules
    Replies: 2
    Last Post: 28 Nov 2010, 10:25 PM
  2. Free Delivery Coupon still adding VAT/TAX for delivery
    By PudzPud in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 1
    Last Post: 12 Oct 2009, 08:57 AM
  3. Category control
    By porque in forum Setting Up Categories, Products, Attributes
    Replies: 4
    Last Post: 1 Sep 2007, 03:27 AM

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