jillbalkus Posted July 27, 2007 Share Posted July 27, 2007 It worked! It worked! I'm so happy...thank you so much!! Quote Link to comment Share on other sites More sharing options...
tanuj1712 Posted August 16, 2007 Share Posted August 16, 2007 It worked! It worked! I'm so happy...thank you so much!! Â Hi guys this is really great contribution. As this contribution works on minimum quantity i am not able to remove the product when it is added to cart.It always show one even if you try to remove the product. Can anyone please help me? Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted August 16, 2007 Share Posted August 16, 2007 Hi guys this is really great contribution.As this contribution works on minimum quantity i am not able to remove the product when it is added to cart.It always show one even if you try to remove the product. You are talking nonsense. Â Proof: look in includes/application_top.php starts around line 336: switch ($HTTP_GET_VARS['action']) { // customer wants to update the product quantity in their shopping cart case 'update_product' : for ($i=0, $n=sizeof($HTTP_POST_VARS['products_id']); $i<$n; $i++) { if (in_array($HTTP_POST_VARS['products_id'][$i], (is_array($HTTP_POST_VARS['cart_delete']) ? $HTTP_POST_VARS['cart_delete'] : array()))) { $cart->remove($HTTP_POST_VARS['products_id'][$i]); Before any minimum quantity things is done, products that had their check_box ticked for deletion are removed. If you think that osC or this contribution removes a product when you enter a amount of zero you are dearly mistaken. Standard osC or this contribution doesn't work like that. I think there is another contribution for it, but I don't know which one. Quote Link to comment Share on other sites More sharing options...
andycatax Posted August 20, 2007 Share Posted August 20, 2007 Has anyone got Quantity price breaks to work with ultimate seo url's? Â I can have either or but not both Quote Link to comment Share on other sites More sharing options...
cowcents Posted August 27, 2007 Share Posted August 27, 2007 Hello All,  I installed QPBPP_v1_2_3. As a complete newbie it took me several days. Now I finally have it working, however now my background, colors, lines etc have disappeared, both in my admin and actual website. I have tried and tried, but I can not figure out where to go to fix this.  website: HTTP://www.cowcents.com  If some of the more experienced could please help me out a little , I would appreciate it. I am sure it is something simple...... :huh:  Thank you all!  Chantal Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted August 27, 2007 Share Posted August 27, 2007 I installed QPBPP_v1_2_3. As a complete newbie it took me several days. Interesting. There are only a few changes to the code, so 15 minutes would be more appropriate... Now I finally have it working, however now my background, colors, lines etc have disappeared, both in my admin and actual website. I have tried and tried, but I can not figure out where to go to fix this. Well, if you look in the source of the page you find that the stylesheet.css it references to is on a very strange place. Probably it works fine on your PC. Did you use a PHP editor, something like Dreamweaver? <link rel="stylesheet" type="text/css" href="../../../Documents and Settings/Owner/Desktop/QPBPP_v1_2_3/QPBPP_v1_2_3/catalog/stylesheet.css"> It should be <link rel="stylesheet" type="text/css" href="stylesheet.css">. So get back to index.php and change it, upload the corrected file and it should be fine again. Quote Link to comment Share on other sites More sharing options...
cowcents Posted August 27, 2007 Share Posted August 27, 2007 Hello, Â Thanks for your help! Â I have a book my employer bought me, but it does not help me much. Doing it and making (sometimes stupid) mistakes is how I learn best Quote Link to comment Share on other sites More sharing options...
ctec2001 Posted September 22, 2007 Share Posted September 22, 2007 For Anyone who wants it:Â This is a code snipplet I put together for a switch of the discounts table: (This example ius taken from my Clients' site which only has 5 level of discount...you can copy & paste the <TR> from level 5 on for the additional discounts... Â essentially if the product has discounts, the table will show, if not, a nice message appears... Â THE CODE: Â <?php if ($product_info['products_price1'] == '0.0000'){ echo '<tr><td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3" bgcolor="#D9CFAB" align="center"><span class="style1">'. $product_info['products_name'].'Â does not have quantity discounts.</span></td> </tr> </table>'; }else{ ?> <tr> <td colspan="3" > <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3" bgcolor="#D9CFAB"><span class="style1">Quantity Discounts by Case </span></td> </tr> <tr> <td colspan="3" ><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="47%" bgcolor="823b3b" class="style1"><span class="style2">Case Quantity: </span></td> <td width="3%" bgcolor="823b3b" class="style2">Â </td> <td width="50%" align="right" valign="top" bgcolor="823b3b" class="style1"><span class="style2">Price:</span></td> </tr> <tr> <td><span class="style1">2-4 Cases: </span></td> <td>Â </td> <td align="right" valign="top"><?php //echo $product_info['products_price1']; echo $currencies->display_price($product_info['products_price1'], tep_get_tax_rate($product_info['products_tax_class_id']))?></td> </tr> <tr> <td><span class="style1">5-9 Cases: </span></td> <td>Â </td> <td align="right" valign="top"><?php //echo $product_info['products_price2']; echo $currencies->display_price($product_info['products_price2'], tep_get_tax_rate($product_info['products_tax_class_id']))?></td> </tr> <tr> <td><span class="style1">10-14 Cases: </span></td> <td>Â </td> <td align="right" valign="top"><?php //echo $product_info['products_price3']; echo $currencies->display_price($product_info['products_price3'], tep_get_tax_rate($product_info['products_tax_class_id']))?></td> </tr> <tr> <td><span class="style1">15-19 Cases: </span></td> <td>Â </td> <td align="right" valign="top"><?php //echo $product_info['products_price4']; echo $currencies->display_price($product_info['products_price4'], tep_get_tax_rate($product_info['products_tax_class_id']))?></td> </tr> <tr> <td bgcolor="#ECE9D8"><span class="style1">20 Cases or More: </span></td> <td bgcolor="#ECE9D8">Â </td> <td align="right" valign="top" bgcolor="#ECE9D8"><?php //echo $product_info['products_price5']; echo $currencies->display_price($product_info['products_price5'], tep_get_tax_rate($product_info['products_tax_class_id']))?></td> </tr> </table></td> </tr> <?php }?> Â END THE CODE Â Â Where exactly would you insert this code? Can I see your clients website to look at the table in action? Quote Do or Do Not, there is no try. Link to comment Share on other sites More sharing options...
goliat Posted October 25, 2007 Share Posted October 25, 2007 Hello, Â Â when i install the cotrib in a new install of oscommerce i got the following anouncement: Â Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. Â Please help! Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted October 26, 2007 Share Posted October 26, 2007 when i install the cotrib in a new install of oscommerce i got the following anouncement: Â Server Requirement Error: register_globals is disabled in your PHP configuration. This can be enabled in your php.ini configuration file or in the .htaccess file in your catalog directory. I assume you used the file application_top.php in the package instead of adding the few changes manually to your own application_top.php? QPBPP has the "old" application_top in the package. Because of the register_globals support added to RC1 there was a change in that file. So go back to your original file and make the changes manually (a file comparsion program is handy too). Quote Link to comment Share on other sites More sharing options...
goliat Posted October 26, 2007 Share Posted October 26, 2007 I assume you used the file application_top.php in the package instead of adding the few changes manually to your own application_top.php? QPBPP has the "old" application_top in the package. Because of the register_globals support added to RC1 there was a change in that file. So go back to your original file and make the changes manually (a file comparsion program is handy too). Â Thank you, it works. I already solved the problem with a php.ini file, but i think this is the better way. Quote Link to comment Share on other sites More sharing options...
goliat Posted October 27, 2007 Share Posted October 27, 2007 (edited) Hello, Â Â i would like to have an minium order quantity, is that possible? Â The shop sells printed cups. The price would be begin with 0.06867, better would it be if it would be possible to have prices for 1000 pcs. Example: Â 10.000 pcs price per 1000 68.67 25.000 pcs price per 1000 51.25 Â etc. Â Is there a contrib what makes this possible. Â Thank you! Edited October 27, 2007 by goliat Quote Link to comment Share on other sites More sharing options...
Guest Posted November 10, 2007 Share Posted November 10, 2007 I am currently setting up a Photography store(mostly wedding photos) Â I however need to have PBPP so that it looks at all attributes. Let me explain. Â I have a products such as picutre1, picture2, picture3. each one has the same attribute selections, 4x6, 5x7, 8x10 wallets. Â These attributes are what determines the picture cost. 4x6 prices are $6 for qty 1-9 for qty 10 and more price is half at $3. Â Â I would like this to work so that if they order any combination of pictures the price would change. Â example: order picture1 - 4x6 - qty 5 (normal = $30)(discounted prices should be ($15) order picture2 - 4x6 - qty 5 (normal = $30)(discounted prices should be ($15) Â Â prices are $6 for qty 1-9 for qty 10 and more price is half at $3. Â i need the shopping cart to look and group all 4x6 for prices cuts rather than just product id. Â Â I am not really sure where/how to get started on this any feedback would be greatly appreciated. Â Greg Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 10, 2007 Share Posted November 10, 2007 I would like this to work so that if they order any combination of pictures the price would change. Â example: order picture1 - 4x6 - qty 5 (normal = $30)(discounted prices should be ($15) order picture2 - 4x6 - qty 5 (normal = $30)(discounted prices should be ($15) prices are $6 for qty 1-9 for qty 10 and more price is half at $3. Â i need the shopping cart to look and group all 4x6 for prices cuts rather than just product id. I am not really sure where/how to get started on this any feedback would be greatly appreciated. That sounds like a whole new contribution to me. I have tinkered with something like that. I think you can still find it in the QPBPP for SPPC, version 1.02 where I called it "price break per category". That is flawed (a product can be in more than one category, never realized that) but you might use it to assign a "price break category" to a product when it has a certain attribute. That might do it. Quote Link to comment Share on other sites More sharing options...
carolannjo Posted November 17, 2007 Share Posted November 17, 2007 Hi, I installed Quantity Price Breaks v1.2.3 and found it very useful for certain items. Installation was very smooth. Kudos to the contributors. Â I have one issue and have not been able to find the answer in the thread. in fact, it says that it is supposed to check for quantity against stock, but I am finding that it doesn't. Most of my items are one of a kind and I enter 1 in the stock field. But when I test it, I find that it allows me to order more than is available in stock. Is there any way to fix this? Â Also, I would like to discount items by category (buy 2 items of one category get one free, or volumne discount, spend so much on certain category and get a discount). Most contribs don't do this and the one that does, Category Discount MC, isn't complete and there doesn't seem to be any support for it. Â Does anyone know of anything that will work with QPBPP? Â Thanks very much, Carol Ann Johnson Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 18, 2007 Share Posted November 18, 2007 I have one issue and have not been able to find the answer in the thread. in fact, it says that it is supposed to check for quantity against stock, but I am finding that it doesn't. Actually it doesn't say that. I guess you refer to the readme.txt that says: - added instructions to change the function tep_get_stock to take advantage of PriceFormatterStore (instead of using 1 query per product in catalog/shopping_cart.php) Most of my items are one of a kind and I enter 1 in the stock field. But when I test it, I find that it allows me to order more than is available in stock. Is there any way to fix this? That is a setting in the admin. When you go to Configuration->Stock you will see the variable for Allow Checkout. If you set it to false it will not let you checkout with that quantity. Also, I would like to discount items by category (buy 2 items of one category get one free, or volumne discount, spend so much on certain category and get a discount). That is something that can be coded, if only I had the time. Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 18, 2007 Share Posted November 18, 2007 Hello,i would like to have an minium order quantity, is that possible? Â The shop sells printed cups. The price would be begin with 0.06867, better would it be if it would be possible to have prices for 1000 pcs. Example: Â 10.000 pcs price per 1000 68.67 25.000 pcs price per 1000 51.25 Â etc. Â Is there a contrib what makes this possible. Â Thank you! Â Â Hi, I am looking for an answer to this question also. Anyone know how to do this within QBPP? Thanks for the help! Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 18, 2007 Share Posted November 18, 2007 Hi, I am looking for an answer to this question also. Anyone know how to do this within QBPP? Thanks for the help! Not that I know but there are actually two questions in there:  is is possible to have a minimum order quantity and is it possible to set a price for 1000 pieces instead of per piece  What is your question?  In QPBPP you can set a quantity block (so only buy by dozens for example). Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 18, 2007 Share Posted November 18, 2007 Not that I know but there are actually two questions in there: is is possible to have a minimum order quantity and is it possible to set a price for 1000 pieces instead of per piece  What is your question?  In QPBPP you can set a quantity block (so only buy by dozens for example).  Thanks for your reply Jan. Sorry bout that. I did set the quantity block to 1000, that works ok. In my business, items are priced per 1000. Say the price is $40 per 1000. I don't want the unit price of .04 shown. I want the price of $40 shown. However, if my price is 40 and they enter a quantity of 1000, the price displays $40,000. I want it to display $40 of course.  I'm sure this is possible, but not sure what code to change.  Thanks for your help!  Steve Quote Link to comment Share on other sites More sharing options...
Jan Zonjee Posted November 18, 2007 Share Posted November 18, 2007 In my business, items are priced per 1000. Say the price is $40 per 1000. I don't want the unit price of .04 shown. I want the price of $40 shown. However, if my price is 40 and they enter a quantity of 1000, the price displays $40,000. I want it to display $40 of course. Â I'm sure this is possible, but not sure what code to change. Me neither. Other than changing the product and making one unit of sale 1,000 pieces I have no immediate idea how this can be changed quickly. Perhaps involving the quantity block in the function getPriceString in PriceFormatter.php? Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 18, 2007 Share Posted November 18, 2007 Me neither. Other than changing the product and making one unit of sale 1,000 pieces I have no immediate idea how this can be changed quickly. Perhaps involving the quantity block in the function getPriceString in PriceFormatter.php? Â Â I see. I think for the time being I will do as you suggested, make 1 unit of sale = 1000 pieces. I'll make sure to explain to customer that when entering the quantity, to enter 1 for 1000 pieces. So my price table displays correctly, I will display my own custom price table and remove the one that PriceFormatter.php displays. Â I appreciate your prompt reply! Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 18, 2007 Share Posted November 18, 2007 I see. I think for the time being I will do as you suggested, make 1 unit of sale = 1000 pieces. I'll make sure to explain to customer that when entering the quantity, to enter 1 for 1000 pieces. So my price table displays correctly, I will display my own custom price table and remove the one that PriceFormatter.php displays. Â I appreciate your prompt reply! Â Just realized this will not solve my problem for quantities of 2500, as customer can't enter 2.5, etc. Oh well back to the drawing board. Quote Link to comment Share on other sites More sharing options...
goliat Posted November 19, 2007 Share Posted November 19, 2007 Just realized this will not solve my problem for quantities of 2500, as customer can't enter 2.5, etc. Oh well back to the drawing board. Hi Steve, Â iam still looking to solve the problem we have, will you place a message here when you have any idea, i will do the same. Â Mitch Quote Link to comment Share on other sites More sharing options...
mcbsolutions Posted November 20, 2007 Share Posted November 20, 2007 Hi Steve, iam still looking to solve the problem we have, will you place a message here when you have any idea, i will do the same.  Mitch  I will definitely do that Mitch. What I am doing is not offering 2500, just 1000, 2000, etc. I'm making 1 unit = 1000 pieces. A short term fix. In meantime, I hope someone might post a solution for us! :) Quote Link to comment Share on other sites More sharing options...
sukarya Posted December 10, 2007 Share Posted December 10, 2007 Hi, Â I have installed this great contribution on a modified store, plus i added several contribs after installing it and it worked fine. Â Now, when installing the "Product Attrib- Option Type Feature" contribution it shows me the following error: Â Fatal error: Call to undefined method shoppingCart::get_product_id_list() in C:\xampp\htdocs\catalog\includes\classes\PriceFormatterStore.php on line 22 Â this is currently tested on my local server. Â it is only happening when adding the includes\classes\shopping_cart.php from the OTF contrib. I have tried to isolate the problem but no success. Â Would love to hear your opinion and help. Thanks, Sharon Quote Installed contributions: Ultimate_SEO, Article Manager 1.5, Dynamic SiteMap 2.0, Infopages, Google SiteMap XMl w/admin 2.1, HeaderTagControler 2.6.1, FCKosc 2.21, X-sell 2.3, Google Analytics Modul, All Products, Page Cache 1.5, EasyPopulate2.7d, Multi Product Manager 2.5, Define Main Page, and probably few others... Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.