Jump to content

Claudia

Member
  • Posts

    234
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Claudia

  1. That did it!! Once again Thank you, Thank you, Thank you Brian! I quess that's trice again LOL
  2. in the admin/skin/order.index Line 18 <thead> <tr> <td>&nbsp;</td> <td nowrap="nowrap">{$THEAD.cart_order_id}</td> <td>&nbsp;</td> <td>{$THEAD.customer}</td> <td>{$THEAD.sold_site}</td> <td>{$THEAD.site_full_address}</td> <td nowrap="nowrap">{$THEAD.status}</td> <td>{$THEAD.date}</td> <td>{$THEAD.total}</td> <td>&nbsp;</td> </tr> </thead> Line 50: <td><span class="editable" name="sold_site[{$order.order_id}]">{$order.sold_site}</span></td>
  3. "Do you have any code to process that new column?" In looking closer I don't think I did for this sold_site column "Has there been any prior discussion on the forum about customizing your admin skin to do this?" Yes for my stuff shown above - but nothing for the Orders tab where there is no save button And the info won't be coming from the "product" like the other code. It will all stay in the order summary. I had this in the source customer before I removed it if (isset($_POST['sold_site']) && is_array($_POST['sold_site']) && Admin::getInstance()->permissions('customers', CC_PERM_EDIT)) { foreach ($_POST['sold_site'] as $customer_id => $sold_site) { $result = $result || $GLOBALS['db']->update('CubeCart_customer', array('sold_site' => $sold_site), array('customer_id' => (int)$customer_id)); } if ($result) { $GLOBALS['main']->successMessage("Some or all Sold Sites updated."); } $send_redirect = true; }
  4. I don't have anything for sold_site at line 720. What whould my full code be? I had my code for other stuff around line 327" example: $filemanager = new FileManager(FileManager::FM_FILETYPE_DL); foreach ($inventory as $product) { if ( empty($product['excel_name']) ) { $product_excel_name_record = $GLOBALS['db']->select('CubeCart_inventory','excel_name',array('product_id' => $product['product_id'])); $product['excel_name'] = $product_excel_name_record[0]['excel_name']; }
  5. I think this is what you want: POST https://www.claudiasbargains.com/admin_xxxxxxx.php?_g=orders&sold_site[0]=cb-store&multi-status=&multi-action=&go=Go&search[order_number]=&search[search_customer_id]=&search[statu This is Request Payload: -----------------------------7665031632393229901537355182 The cb-store is my editible column I had that column ajax from my admin/customer but could never get it to save to the order when I updated the customer so I removed coding from customer and removed the ajax_sold_site from the order - just have it as sold_site. I can change the sold_site "inside" the order and it will change on the main orders tab and in the special data tab I have in the order. I just can't change and save from the main "orders" tab where it shows all the orders.
  6. I see that there is no save/ save reload button on the main Orders page in admin where it shows a list of orders. I have an editible column on this page and no way to save it. How can I add the button. Thanks for any and all help
  7. Kinda obvious now that you show it. Thanks again Brian
  8. I create a lot of orders from my etsy and ebay sales and of course I have to add the customers first. Want to make sure they aren't registered. Still want customers from the actual webstore to be able to register if they want
  9. On the customer admin page under "type" it automatically shows registered. Anyway to change that to unregistered?
  10. Yeah! The checkmark disappeared as you said it would. Thank you One more thing I can't get to work in CC646. On the customer admin page under "type" it automatically shows registered. Anyway to change that to unregistered?
  11. When I try to add a product the Automatically generate product code checkbox still has a checkmark in it
  12. This isn't working in cc6.4.6 Any ideas?
  13. I used Microsoft Expression Web 3. They don't even support it anymore but I'm use to it
  14. It's not the stock CC646 code, but I updated my custom skin to apply the changes in CC646. "I'm wondering why your browser didn't show the "broken/missing image" icon? " I don't know why
  15. Found the problem. Part of my code looked like this for some reason. Any ideas why? <ul>{foreach $GALLERY_ARRAY as $gallery_image} {if $gallery_image@index > 0} <li id="gallery_imageset_{$gallery_image.file_id}"> <img src="../../AAA%20CC%206.4.6/CC%206.4.6%20Download/Original%20Do%20Not%20Edit/admin/skins/default/templates/images/source/{$gallery_image.filepath}{$gallery_image.filename}" title="{$gallery_image.filepath}{$gallery_image.filename}" /> </li> Just saw I had similair in translations <input type="hidden" name="" id=""> <a href="{$translation.edit}" title="{$translation.name}"> <img src="../../AAA%20CC%206.4.6/CC%206.4.6%20Download/Original%20Do%20Not%20Edit/admin/skins/default/templates/language/flags/{$translation.language}.png" alt="{$translation.name}"></a> &nbsp; <a href="{$translation.edit}" title="{$translation.name}">{$translation.name}</a> </div>
  16. Hi, I upgraded to 6.4.6 and everything seems ok except the extra images aren't showing in admin/products Oh, and the word location is mispelled in the dropdown Nevermind it has something to do with my custom admin skin. I'll figure it out Thanks anyway
  17. I made a custom admin skin. I'll check the code on that. Thanks, Al
  18. Whenever I try to logout of admin I get this red banner and I cannot logout. I have no other windows open and have not used the back button. Security Alert: Possible Cross-Site request forgery (CSRF). Please do no use multiple tabs/windows or the browser back button. cPanel error log (nothing in admin error log): [28-Jul-2022 00:38:55 America/Louisville] PHP Warning: Invalid argument supplied for foreach() in /home/xxxxxx/public_html/modules/plugins/paypal_commerce/paypal.class.php on line 1170 [28-Jul-2022 04:28:34 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 04:28:35 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 08:26:35 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 09:43:43 America/Louisville] PHP Warning: Security Warning: Illegal array key "images/" was detected and was removed. in /home/xxxxxx/public_html/classes/sanitize.class.php on line 114 [28-Jul-2022 11:12:45 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:12:55 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:14:06 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:14:17 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:03 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:05 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155 [28-Jul-2022 11:17:06 America/Louisville] PHP Warning: Invalid Security Token in /home/xxxxxx/public_html/classes/sanitize.class.php on line 155
  19. I am so sorry to put you to all that trouble. Thank you for helping
  20. I found the problem! In classes/catalouge I had this all on one line // START My do not show product on Cat Page if Sold $where = " AND INV.available = '1'"; $where2 = $this->outOfStockWhere(false, 'INV', true); if (($result = $GLOBALS['db']->query('SELECT I.product_id FROM `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_category_index` as I, `'.$GLOBALS['config']->get('config', 'dbprefix').'CubeCart_inventory` as INV WHERE I.cat_id = '.$category_id.' AND I.product_id = INV.product_id AND INV.status = 1'.$where.$where2)) !== false) { // END My do not show product on Cat Page if Sold $this->_category_count = $GLOBALS['db']->numrows();
  21. There is no $pagination in the left column
×
×
  • Create New...