Jump to content



Latest News: (loading..)

* * * * * 1 votes

CONTRIBUTION Product Quick Edit


  • Please log in to reply
105 replies to this topic

#81   lyonsperf

lyonsperf
  • Members
  • 305 posts
  • Real Name:Matt
  • Gender:Male
  • Location:CT

Posted 15 March 2011 - 02:18 PM

Is there really only three files in this download?
I read the instructions but the admin page shows nothing that can be edited. It lists the products fine but you can't edit them. Is there a missing sql mod and stylesheet?
If the only tool you have is a hammer, all your problems look like nails

#82   websolutionsnic

websolutionsnic
  • Members
  • 3 posts
  • Real Name:WebSolutionsNic

Posted 03 September 2011 - 09:03 PM

As I can edit this field. $ results ['products_name']

#83   Simpel

Simpel
  • Members
  • 97 posts
  • Real Name:de wit

Posted 16 October 2011 - 04:35 PM

Just wondering If somebody got this working with split_page_result when choosing "show all" This because I got a list with 6000 products and like them to split.

#84   Simpel

Simpel
  • Members
  • 97 posts
  • Real Name:de wit

Posted 17 October 2011 - 05:31 PM

for those who want to split also

if (!tep_db_num_rows($product_query))  {
	 ?>
	  <tr>
			<td colspan="8" align="center" class="messageStackWarning"><big><?php  echo TEXT_NO_MATCH; ?></big></td>
		   </tr>
						<?php	 } elseif (isset($_GET['pSearch'])) {
$products_query_raw = "select distinct pd.products_name, p.products_id, p.products_status, p.products_quantity, p.products_price, p.products_model, p.products_model_2, p.products_image, p.products_tax_class_id from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_id = pd.products_id and (pd.products_name like '%".$prod_search."%'  or p.products_id like '%".$prod_search."%' " ." ) order by pd.products_name ASC";
$products_split = new splitPageResults_list($_REQUEST['page'], MAX_DISPLAY_SEARCH_RESULTS, $products_query_raw, $products_query_numrows);
	$product_query = tep_db_query($products_query_raw);	
  while ($product = tep_db_fetch_array($product_query)) {
   $products_count++;
   $rows++;
	echo '<tr valign="top"' . ($pID == $product['products_id'] ? 'bgcolor="#9999ff"' : (((int)($i/2)*2) == $i ? 'bgcolor="#ffffff"' : '')) . '>';
	   ?>
	   <td  align="center" class="main"><?php echo $product['products_model'];?></td>
	   <td  align="center"><?php echo tep_image(DIR_EXT_HTTP . $product['products_image'], $product['products_name'], 40, 40); ?></td>
	   <td  align="center" class="main"><?php echo $products_name=$product['products_name']; ?>
	   <td  align="center" class="main"><?php echo $product['products_model_2']; ?>
	   <td align="center" class="main"><?php echo $currencies->display_price($product['products_price'], tep_get_tax_rate($product['products_tax_class_id'])) ; ?></td>
	   <td align="center" class="main"><?php echo $product['products_weight'];?></td>
	   <td align="center" class="main"><?php echo $product['products_quantity']; ?></td>
	   <td align="right" class="main"><a href="<?php echo tep_href_link(FILENAME_PRODUCT_QUICKEDIT_INFO, 'action=edit&pID='. $product['products_id'] . '&prod_search=' . $prod_search) ?>"><b><?php echo TEXT_EDIT; ?></b></a></td>
	   </tr>
	  <?php
	   }
	  ?>
	   </table>
	   </form>
			  <tr>
				<td colspan="8"><table border="0" width="100%" cellspacing="0" cellpadding="2">
				<tr>
			 <td class="smallText" valign="top"><?php echo $products_split->display_count_list($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS , $_REQUEST['page'], TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></td>
	 <td class="smallText" align="right"><?php echo $products_split->display_links_list($products_query_numrows, MAX_DISPLAY_SEARCH_RESULTS , TEXT_RESULT_PAGE, $_REQUEST['page'],'option=com_oscommerce&osMod=product_list', 'pSearch=' .$prod_search .'&page'.$page); ?></td>
			   </table></td>
			  </tr>
			  <tr>
				<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
			  </tr>
   <?php
	}
   ?>
		  </table></td>
		  </table>
		</td>
  </table>
  </td>
   </tr>
	</table></td>
<!-- body_text_eof //-->
  </tr>
</table>


#85   psytanium

psytanium
  • Members
  • 92 posts
  • Real Name:Ludwig Arcache
  • Gender:Male
  • Location:Lebanon

Posted 16 February 2012 - 12:56 PM

hi, is there a way to edit the prices on the same page (displayed as text field) then save the changes for once ?
because i have thousands of products and its taking so long to edit 1 by 1.

thx for sharing this contribution, it saved me some time.

#86   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 15 March 2012 - 12:50 PM

It could be modified for that, you would need to use arrays with $_POST in the same way that the multi buy now works on modified product listings.
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Contributions:


Auto Backup your Database, Easy way

Multi Images with Fancy Pop-ups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.

#87   dakota259

dakota259
  • Members
  • 23 posts
  • Real Name:gert
  • Gender:Male
  • Location:Belgium

Posted 15 April 2012 - 01:14 PM

Hi,
We are using "product_quickedit" already a long time, but now we are using it with "Google Chrome".
When we want to edit a product, we click on the record, but "product_quickedit_info" is not activated.
When we are doing the same in IE 9 there is no problem and we can edit the product in "product_quickedit_info".
Who can help us with this problem?
Thanks

#88   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 15 April 2012 - 01:20 PM

@dakota259

I`ll check that out & get back to you.
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Contributions:


Auto Backup your Database, Easy way

Multi Images with Fancy Pop-ups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.

#89   spooks

spooks
  • Members
  • 7,017 posts
  • Real Name:Sam
  • Gender:Male
  • Location:UK

Posted 18 April 2012 - 02:18 PM

@dakota259

I`ve now tested this and cannot reproduce. Could you say what does happen & have you tried clearing the browser cache?
Sam

Remember, What you think I ment may not be what I thought I ment when I said it.

Contributions:


Auto Backup your Database, Easy way

Multi Images with Fancy Pop-ups, Easy way

Products in columns with multi buy etc etc

Disable any Category or Product, Easy way

Secure & Improve your account pages et al.

#90   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 22 July 2012 - 02:51 AM

Uploaded new version for compatability with oscommerce version 2.3.1 http://addons.oscommerce.com/info/5680
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#91   dsaltmer

dsaltmer
  • Members
  • 19 posts
  • Real Name:David Saltmer

Posted 26 July 2012 - 12:41 PM

Thank you for the new version of this add on. Just one thing I would change though - when I installed it on my shop, it replaced the Categories/Products box, meaning I couldn't add new product to my shop. So instead of replacing the lines in admin/includes/boxes/catalog.php and admin/includes/languages/english.php, as suggested in the installation file, I added them and kept the old lines. This means that I have both boxes available. Hope this helps, and sorry if you already knew!!! :-)

#92   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 29 July 2012 - 03:07 AM

@dsaltmer

Yeah I did the same thing as you, I kept the originals and just added the new code. The reason that the install file reads as that was it was how it was originally stated.

When you think about it though you really need to have both, otherwise how will you add or edit categories... I guess it needs to be updated.

http://addons.oscommerce.com/info/5680 There you go for version 2.3.2 as well!
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#93   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 29 July 2012 - 03:13 AM

Uploaded file at http://addons.oscommerce.com/info/8510 so that it shows up when searching for add-ons for osCommerce v2.3
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#94   WWI

WWI
  • Members
  • 27 posts
  • Real Name:Lisa Fisli
  • Gender:Female

Posted 01 August 2012 - 07:30 PM

Thanks for this!  It's going to be so helpful!  I was wondering, I'm still using 2.2 and even though the pages say require('includes/application_top.php'); there is no application top, no left column with all the links I need, etc.  I can only use my back-button to get back to wherever I need to be.  Any suggestions?

#95   bebe cash 59

bebe cash 59
  • Members
  • 12 posts
  • Real Name:Dremierre

Posted 05 August 2012 - 05:03 PM

Hi !
Into catalog/admin/includes/filesnames.php must be added
  define('FILENAME_QUICK_EDIT_INFO', 'product_quickedit_info.php');
(new version 2.3.1)
No ?
Cheers !
bebe cash 59
Thanks to apologize my language
----------------------------------
Français
Un bout de code manque dans la version pour 2.3.1 (& 2.3.2)
Merci de corriger le zip - pour les autres...
Belle journée à vous
bebe cash 59

#96   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 06 August 2012 - 02:24 AM

@WWI

I would suggest using the version for 2.2 http://addons.oscommerce.com/info/5680 Its the one dated 23rd March 2009
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#97   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 06 August 2012 - 02:32 AM

@bebe cash 59

I believe that was left out of the installation instructions as the only link to that page is from the product_quickedit.php page. The info page is not called from any other file so it doesnt need to be defined.
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#98   CrazyCarzCustoms

CrazyCarzCustoms
  • Members
  • 151 posts
  • Real Name:Rob
  • Gender:Male
  • Location:Oliveira do Hospital - Portugal

Posted 26 August 2012 - 11:24 AM

Hi ,

First a big thanks for this addon , once it works it will save us a lot of time!

For now i get the following message:
Not Acceptable

An appropriate representation of the requested resource /xxxxxxxxx/product_quickedit.php could not be found on this server.


This happens with whatever i click on , i already tried to upload " product_quickedit.php" again but that did not help.
I also checked if the files were in admin.

Can someone help me with this?

Many thanks in advance,

Rob

Edited by CrazyCarzCustoms, 26 August 2012 - 11:24 AM.


#99   EchoGuns

EchoGuns

    Supreme Overlord

  • Members
  • 122 posts
  • Real Name:Clint Freeman
  • Gender:Male
  • Location:Texas

Posted 26 August 2012 - 01:23 PM

The installation of this addon doesn't modify any files as in changing any code. All you are doing when you install it is adding the link to it, and the language definitions so the links show correctly. I would look at what you have been doing to your shop lately and confirm nothing else is showing this error.
My Addons:

Product Tabs - 2.3x Download| Support
Product Info Page Box - 2.3x Download | Support

#100   CrazyCarzCustoms

CrazyCarzCustoms
  • Members
  • 151 posts
  • Real Name:Rob
  • Gender:Male
  • Location:Oliveira do Hospital - Portugal

Posted 26 August 2012 - 01:56 PM

View PostEchoGuns, on 26 August 2012 - 01:23 PM, said:

The installation of this addon doesn't modify any files as in changing any code. All you are doing when you install it is adding the link to it, and the language definitions so the links show correctly. I would look at what you have been doing to your shop lately and confirm nothing else is showing this error.


Hi Clint,

Thank you for your response.
I did some to the shop AND updated it to 2.3.3 but about everything else is working , exept a link for Google login , but i´m fighting with that for a couple of days now.

Could this be caused bu a ht.acces , i realy have no idea as i am a total noob to this but i know that i have a extensive ht.acces file.
But like i said , everything else seems to be working , you can have a look if you want here.

Gr. Rob