Page 40 of 65 FirstFirst ... 30383940414250 ... LastLast
Results 391 to 400 of 649
  1. #391
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Return Authorization Module (RMA)

    Quote Originally Posted by lankeeyankee View Post
    Hi Clyde,

    Thanks for all of your great mods, we use several of them! I have been using this mod for a while now, v2.2, and have always meant to figure out how to change the action requested:0 in the email to read action requested:Return or whatever the value is in the admin configuration. Could you please tell me how to fix that?

    Thanks!
    Not sure what you mean:

    This is what you should get:

    Order Number: T00000
    Total Value:
    Item Number:
    Item Name:
    Action Requested: Replacement
    ------------------------------------------------------
    Reason: Test of return authorization mod

    What are the settings you have in the admin configuration settings?

  2. #392
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Return Authorization Module (RMA)

    Order Number: 74770
    Total Value:
    Item Number:
    Item Name:
    Action Requested: 0

    I haven't changed anything from the stock module, I have the setting set to:

    Phone Number true
    Total Value false
    Item Number true
    Only registered customers may submit a return request false
    Set "Return Action" Dropdown List Refund, Replacement

    When searching through this thread for "Action Requested" I see where other people have posted their emails that they have the array number instead of the value, too, but others have the value. Search the thread if you want to see what I mean.

    Zen Cart and it's community are the best!!

  3. #393
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Return Authorization Module (RMA)

    Quote Originally Posted by lankeeyankee View Post
    Order Number: 74770
    Total Value:
    Item Number:
    Item Name:
    Action Requested: 0

    I haven't changed anything from the stock module, I have the setting set to:

    Phone Number true
    Total Value false
    Item Number true
    Only registered customers may submit a return request false
    Set "Return Action" Dropdown List Refund, Replacement

    When searching through this thread for "Action Requested" I see where other people have posted their emails that they have the array number instead of the value, too, but others have the value. Search the thread if you want to see what I mean.
    can you post the code from tpl_returns_default.php

    from about line(s) 123 to 137

    BTW - the most recent version in the downloads section is 2.3.0

  4. #394
    Join Date
    Jan 2007
    Posts
    1,483
    Plugin Contributions
    10

    Default Re: Return Authorization Module (RMA)

    PHP Code:
    <?php
    if (RETURN_ACTION_LIST !=''){

      foreach(
    explode(","RETURN_ACTION_LIST) as $k => $v) {
        
    $entry_action_array[] = array('id' => $k'text' => preg_replace('/\<[^*]*/'''$v));
      }
    ?>  
    <label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION?></label>
    <?php echo zen_draw_pull_down_menu('action'$entry_action_array'id="entry-action"');?>

    <?php
    } else {
    $default_action ENTRY_ACTION_DEFAULT;
    ?>

    <label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION?></label>
    <?php echo zen_draw_input_field('action'$default_action'size="20" id="entry-action"') ; ?>

    <?php
    }    
    ?>
    Is that what you are looking for? I guess I should look at the update module!

    Zen Cart and it's community are the best!!

  5. #395
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Return Authorization Module (RMA)

    Quote Originally Posted by lankeeyankee View Post
    PHP Code:
    <?php
    if (RETURN_ACTION_LIST !=''){

      foreach(
    explode(","RETURN_ACTION_LIST) as $k => $v) {
        
    $entry_action_array[] = array('id' => $k'text' => preg_replace('/\<[^*]*/'''$v));
      }
    ?>  
    <label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION?></label>
    <?php echo zen_draw_pull_down_menu('action'$entry_action_array'id="entry-action"');?>

    <?php
    } else {
    $default_action ENTRY_ACTION_DEFAULT;
    ?>

    <label class="inputLabel" for="entry-action"><?php echo ENTRY_ACTION?></label>
    <?php echo zen_draw_input_field('action'$default_action'size="20" id="entry-action"') ; ?>

    <?php
    }    
    ?>
    Is that what you are looking for? I guess I should look at the update module!
    Try changing this line:

    $entry_action_array[] = array('id' => $k, 'text' => preg_replace('/\<[^*]*/', '', $v));

    TO this


    $entry_action_array[] = array('id' => $v, 'text' => preg_replace('/\<[^*]*/', '', $v));

  6. #396
    Join Date
    Nov 2005
    Posts
    86
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    can anyone help me with this, I've altered this mod and just need a little help to finish it off.

    What I've done is provide a return request link from a customers account page, this passes the order id to the Return request page, which fills in the order id for the customer.
    I've also added the code below to pull in the items from the order so the customer can select via checkbox which item they want to return.

    The problem I am having is looping through the checkboxes when its posted and then adding them to the e-mail sent to the site admin.

    Its probably quite simple but my brain is now fried.

    Once I've got this sorted I'll post my tweaks as someone may find them useful.


    This section get the order id

    Code:
     <?php if  ($_GET['order_id'] !=  '') {$order_number = $_GET['order_id'];} ?>
      <?php if  ($_POST['order_id'] !=  '') {$order_number = $_POST['order_id'];} ?>
    <? $orderidnumber = $order_number;?>

    This section gets the items from the order

    Code:
    <li>
    <label for="item_name"><?php echo ENTRY_ITEM_NAME . zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT); ?></label>
    <? global $db;?>
    
    <? $rmaproduct = $db->Execute("SELECT * from " . TABLE_ORDERS_PRODUCTS . " WHERE orders_id = $orderidnumber" );
    while (!$rmaproduct ->EOF) {
    echo '<input name="item_name" checked="checked"  type="checkbox" value="'. $rmaproduct->fields['products_name'] . ' model='. $rmaproduct->fields['products_model'] . '" />'. $rmaproduct->fields['products_name'] . '<br />';
    $rmaproduct->MoveNext();
    }?>
    </li>

  7. #397
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Return Authorization Module (RMA)

    If I have multiple orders how do you select which order number to use?

    Quote Originally Posted by steveyork136 View Post
    can anyone help me with this, I've altered this mod and just need a little help to finish it off.

    What I've done is provide a return request link from a customers account page, this passes the order id to the Return request page, which fills in the order id for the customer.
    I've also added the code below to pull in the items from the order so the customer can select via checkbox which item they want to return.

    The problem I am having is looping through the checkboxes when its posted and then adding them to the e-mail sent to the site admin.

    Its probably quite simple but my brain is now fried.

    Once I've got this sorted I'll post my tweaks as someone may find them useful.


    This section get the order id

    Code:
     <?php if  ($_GET['order_id'] !=  '') {$order_number = $_GET['order_id'];} ?>
      <?php if  ($_POST['order_id'] !=  '') {$order_number = $_POST['order_id'];} ?>
    <? $orderidnumber = $order_number;?>

    This section gets the items from the order

    Code:
    <li>
    <label for="item_name"><?php echo ENTRY_ITEM_NAME . zen_image($template->get_template_dir(RETURN_OPTIONAL_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images'). '/' . RETURN_OPTIONAL_IMAGE, RETURN_OPTIONAL_IMAGE_ALT, RETURN_OPTIONAL_IMAGE_WIDTH, RETURN_OPTIONAL_IMAGE_HEIGHT); ?></label>
    <? global $db;?>
    
    <? $rmaproduct = $db->Execute("SELECT * from " . TABLE_ORDERS_PRODUCTS . " WHERE orders_id = $orderidnumber" );
    while (!$rmaproduct ->EOF) {
    echo '<input name="item_name" checked="checked"  type="checkbox" value="'. $rmaproduct->fields['products_name'] . ' model='. $rmaproduct->fields['products_model'] . '" />'. $rmaproduct->fields['products_name'] . '<br />';
    $rmaproduct->MoveNext();
    }?>
    </li>

  8. #398
    Join Date
    Nov 2005
    Posts
    86
    Plugin Contributions
    1

    Default Re: Return Authorization Module (RMA)

    Hi clydejones

    I add a link from the customers account page, so on page tpl_account_default.php where a customer can view their orders, next to the view button there is a "return request button", clicking this button sends the customer (with the order_id in the url) to the return request page.


    This is the code for the tpl_account_default.php page

    The extra code is <th scope="col"><?php echo TABLE_HEADING_RMA; ?></th> which adds the column header

    and

    <td width="120px"><?php echo '<a href="' . zen_href_link(FILENAME_RETURNS, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_RMA_SMALL, BUTTON_RMA_SMALL_ALT) . '</a>'; ?></td>

    which builds the link using the zen button scheme


    Code:
    <table width="100%" border="0" cellpadding="0" cellspacing="0" id="prevOrders">
    <caption><h2><?php echo OVERVIEW_PREVIOUS_ORDERS; ?></h2></caption>
        <tr class="tableHeading">
        <th scope="col"><?php echo TABLE_HEADING_DATE; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_ORDER_NUMBER; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_SHIPPED_TO; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_STATUS; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_TOTAL; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_VIEW; ?></th>
        <th scope="col"><?php echo TABLE_HEADING_RMA; ?></th>
      </tr>
    <?php
      foreach($ordersArray as $orders) {
    ?>
      <tr>
        <td width="80px"><?php echo zen_date_short($orders['date_purchased']); ?></td>
        <td width="40px"><?php echo TEXT_NUMBER_SYMBOL . $orders['orders_id']; ?></td>
        <td  align="center"><address><?php echo zen_output_string_protected($orders['order_name']) . '<br />' . $orders['order_country']; ?></address></td>
        <td width="80px"><?php echo $orders['orders_status_name']; ?></td>
        <td width="80px" align="right"><?php echo $orders['order_total']; ?></td>
        <td align="center"><?php echo '<a href="' . zen_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_VIEW_SMALL, BUTTON_VIEW_SMALL_ALT) . '</a>'; ?></td>
        <td width="120px"><?php echo '<a href="' . zen_href_link(FILENAME_RETURNS, 'order_id=' . $orders['orders_id'], 'SSL') . '"> ' . zen_image_button(BUTTON_IMAGE_RMA_SMALL, BUTTON_RMA_SMALL_ALT) . '</a>'; ?></td>
      </tr>
    <?php
      }
    ?>
    </table>

  9. #399
    Join Date
    Mar 2009
    Posts
    21
    Plugin Contributions
    0

    Default Re: Return Authorization Module (RMA)

    Using Zen-Cart ver 1.3.8a

    Also using RMA Version: v2.3.2
    Last Updated: Jan 29 2010

    The form is showing up fine, I can fill everything out, however when you hit submit, the customer receives an email however I don't receive an email containing the customer's information.

  10. #400
    Join Date
    Nov 2005
    Location
    Colorado Springs, CO USA
    Posts
    7,033
    Plugin Contributions
    31

    Default Re: Return Authorization Module (RMA)

    Quote Originally Posted by sonjamichelle View Post
    Using Zen-Cart ver 1.3.8a

    Also using RMA Version: v2.3.2
    Last Updated: Jan 29 2010

    The form is showing up fine, I can fill everything out, however when you hit submit, the customer receives an email however I don't receive an email containing the customer's information.
    Check your email settings admin -> configuration -> e-mail options

    Also check the spam filter settings on your e-mail accounts

 

 
Page 40 of 65 FirstFirst ... 30383940414250 ... LastLast

Similar Threads

  1. v151 Flexible Return Authorization (RMA) for ZC v1.5.x [Support Thread]
    By DivaVocals in forum All Other Contributions/Addons
    Replies: 167
    Last Post: 11 Apr 2021, 08:56 PM
  2. Return Authorization Module
    By itspec in forum All Other Contributions/Addons
    Replies: 13
    Last Post: 10 Feb 2009, 11:29 PM
  3. Return Merchandise Authorization (RMA) Module Follow-up
    By killertofu in forum Managing Customers and Orders
    Replies: 1
    Last Post: 11 Aug 2008, 11:13 PM
  4. Return Authorization Module (RMA)
    By dscott1966 in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 11 Nov 2006, 08:04 PM

Bookmarks

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
Zen-Cart, Internet Selling Services, Klamath Falls, OR