Jump to content

Claudia M

  • Content Count

  • Joined

  • Last visited

  • Days Won


Claudia M last won the day on July 12 2017

Claudia M had the most liked content!

Community Reputation

4 Neutral

1 Follower

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Thanks Brian. I think I'll change the priority. Seems easiest.
  2. What file would I edit to rearrange the tabs in the Product file in admin. I don't use Digital, Translations, Options so I'd like for them to be at the end. Thanks for any and all help!!!
  3. Hi, I know we now have the email log in admin. Brian had previously created a code snippet so that all the customer emails are sent to me. It doesn't work now with the email log in force. Anyway this can be updated so I can get the customer emails sent to me? Thanks in advance for any and all help! Claudia
  4. The save reload button has disappeared from the notes tab and the save button is still in the center of my code on the Special Tab. Here's the beginning and end of the info I put in the snippet. # Using PHP's NowDoc format, the following div pane is an example of the Smarty template HTML. $specialDataDivPane = <<<'DIVPANE' <div id="specialdata" class="tab_content"> <h3>Special Data</h3> <div class="my_information" style="width: 1200px;"> <fieldset class="my_width" id="my_left"> -------------------------- <div><label for="weight">AIOS Order Weight</label><span>{$OVERVIEW_SUMMARY.weight}</span></div> <div><label for="ship_product">Shipping Paid For</label><span>{$OVERVIEW_SUMMARY.ship_product}</span></div> <div><label for="shipping_used">Shipping Used</label><span><input type="text" id="shipping_used" name="summary[shipping_used]" value="{$SUMMARY.shipping_used}" class="textbox"></span></div> <div><label for="shipping_zone">Shipping Zone</label><span><input type="text" id="shipping_zone" name="summary[shipping_zone]" value="{$SUMMARY.shipping_zone}" class="textbox"></span></div> </fieldset> </div> DIVPANE; $specialDataDivPaneCompiled = $GLOBALS['smarty']->fetch('string:'.$specialDataDivPane); ## ## Pass the compiled HTML to a dedicated array. $smarty_data['plugin_tabs'][] = $specialDataDivPaneCompiled;
  5. No I didn't paste all me code. I'll make the changes now. Thank you!
  6. Now I add the code (see above) to the admin/skin/order.index file affixing it to the "notes" tab. But I wanted its own tab because I use it in 2 columns and the save button was showing in the middle and not allowing my columns to line up. Yes I wanted to know how to modify the snippet to show the information
  7. I have the snippets installed now but how do I input the information. Here is an example of what I'm doing. It shows in 2 columns class= my_width is 590px <div class="my_information" style="width: 1200px;"> <fieldset class="my_width" id="my_left"> <legend>Summary: Product Information</legend> {if !empty($OVERVIEW_SUMMARY.excel_product_name)}<label for="excel_product_name">Excel Product Name:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.excel_product_name}<br>{/if} {if !empty($OVERVIEW_SUMMARY.excel_product_code)}<label for="excel_product_code">Excel Product Code:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.excel_product_code}<br>{/if} </fieldset> <fieldset class="my_right"> <legend>Product Information</legend> <div><label for="excel_product_name">Excel Product Name</label><span><input type="text" id="excel_product_name" name="summary[excel_product_name]" value="{$SUMMARY.excel_product_name}" class="textbox"></span></div> <div><label for="excel_product_code">Excel Product Code</label><span><input type="text" id="excel_product_code" name="summary[excel_product_code]" value="{$SUMMARY.excel_product_code}" class="textbox"></span></div> </fieldset> <fieldset class="my_width" id="my-left"> <legend>Summary: Pricing Information</legend> {if !empty($OVERVIEW_SUMMARY.subtotal)}<label for="order_price">Order Price:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.subtotal}<br>{/if} {if !empty($OVERVIEW_SUMMARY.shipping)}<label for="sold_site">Shipping:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.shipping}<br>{/if} {if !empty($OVERVIEW_SUMMARY.site_discount)}<label for="site_taxes">Total Discount:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.site_discount}<br>{/if} {if !empty($OVERVIEW_SUMMARY.site_taxes)}<label for="site_taxes">Total Taxes:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.site_taxes}<br>{/if} {if !empty($OVERVIEW_SUMMARY.total)}<label for="total">Grand Total:</label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{$OVERVIEW_SUMMARY.total}{/if} </fieldset> <fieldset class="my_right"> <legend>Pricing Information</legend> <div><label for="subtotal">Store Price</label><span>{$OVERVIEW_SUMMARY.subtotal}</span></div> <div><label for="shipping">Store Shipping</label><span>{$OVERVIEW_SUMMARY.shipping}</span></div> <div><label for="site_discount">Site Discount</label><span><input type="text" id="site_discount" name="summary[site_discount]" value="{$SUMMARY.site_discount}" class="textbox"></span></div> <div><label for="site_taxes">Total Taxes</label><span><input type="text" id="site_taxes" name="summary[site_taxes]" value="{$SUMMARY.site_taxes}" class="textbox"></span></div> <div><label for="total">Grand Total</label><span>{$OVERVIEW_SUMMARY.total}</span></div> </fieldset>
  8. The first code snippet is working now. I'll do the second now
  9. I deleted the first snippet and can't get in my admin. Just get a white screen. Do you know what this snippet is? It says it was created today at around 2 pm. I didn't create it. <?php $return_filenames = array_map(function($element){return $element['filename'];},$return); array_multisort($return_filenames,$return); ?>
  10. When I go to another page I get a white screen
  11. Thanks Brian ... I'll implement the snippets and let you know how it goes! I put the first one in hit save and got a white screen. Missing the ' - added it now can see my admin $tab['target'] = '#specialdata;
  12. I'm ready. Do you want or need to look at the page I"m talking about in admin first?
  13. When looking at an individual order in admin I'd like to add a new tab with my custom information. I have my information added to the notes tab now ( using 2 columns) and it works fine except the save button is in the middle of the information. I'd send a photo but there's a lot of customer info in it. Can someone steer me in the right direction to add a custom tab please? Thanks in advance, Claudia PS: Some of the custom fields are already in CubeCart some I have added to the order.summary database
  14. Well I'll be! You teach me soooo much. Thank you!!!!
  • Create New...