CartThrob Forums http://cartthrob.com/forums/ CartThrob Forums en Copyright 2013 2013-05-15T11:40:55-08:00 Selling CT Admin http://cartthrob.com/forums/viewthread/9453/ http://cartthrob.com/forums/viewthread/9453/#When:09:44:08Z <p>I want to sell my CT Admin since I no longer have Cart Throb, anyone interested it’s firm at $35.</p> 2013-05-15T09:44:08-08:00 Seeing a bunch of bugs/errors http://cartthrob.com/forums/viewthread/7429/ http://cartthrob.com/forums/viewthread/7429/#When:07:33:49Z <p>EE: 2.5.3<br /> CT: 2.1.5<br /> CT Admin: 1.5</p> <p>On the products view the total sold is incorrect, it seem to just count the entries instead of the quantities, so if I add 3 of a $10 Widget to my cart it only adds 1 to Total Sold and $10 to the Total Sales when I checkout.<br /> Also on the products view I’m seeing this string of code next to the date range dropdown ” lang(‘total_range’), ‘select_range’ =&gt; lang(‘select_range’)), FALSE, ‘id=“total_range”’).NBS.NBS; ?&gt;”</p> <p>On the product view I’m getting this error</p><div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">A&nbsp;PHP&nbsp;Error&nbsp;was&nbsp;encountered<br /><br />Severity</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Notice<br /><br />Message</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Undefined&nbsp;offset</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">0<br /><br />Filename</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">libraries</span><span style="color: #007700">/</span><span style="color: #0000BB">Ct_admin_products</span><span style="color: #007700">.</span><span style="color: #0000BB">php<br /><br />Line&nbsp;Number</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">496&nbsp;</span> </span> </code></div> <p>On the reports page under Inventory Report I’m seeing these 2 errors</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">A&nbsp;PHP&nbsp;Error&nbsp;was&nbsp;encountered<br /><br />Severity</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Notice<br /><br />Message</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">unserialize</span><span style="color: #007700">()&nbsp;</span><span style="color: #0000BB">[function</span><span style="color: #007700">.</span><span style="color: #0000BB">unserialize]</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Error&nbsp;at&nbsp;offset&nbsp;0&nbsp;of&nbsp;3&nbsp;bytes<br /><br />Filename</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">core</span><span style="color: #007700">/</span><span style="color: #0000BB">Loader</span><span style="color: #007700">.</span><span style="color: #0000BB">php</span><span style="color: #007700">(</span><span style="color: #0000BB">727</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">eval()</span><span style="color: #DD0000">'d&nbsp;code<br /><br />Line&nbsp;Number:&nbsp;263&nbsp;</span> </span> </code></div> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">A&nbsp;PHP&nbsp;Error&nbsp;was&nbsp;encountered<br /><br />Severity</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Warning<br /><br />Message</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">Invalid&nbsp;argument&nbsp;supplied&nbsp;</span><span style="color: #007700">for&nbsp;foreach()<br /><br /></span><span style="color: #0000BB">Filename</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">core</span><span style="color: #007700">/</span><span style="color: #0000BB">Loader</span><span style="color: #007700">.</span><span style="color: #0000BB">php</span><span style="color: #007700">(</span><span style="color: #0000BB">727</span><span style="color: #007700">)&nbsp;:&nbsp;</span><span style="color: #0000BB">eval()</span><span style="color: #DD0000">'d&nbsp;code<br /><br />Line&nbsp;Number:&nbsp;264&nbsp;</span> </span> </code></div> <p>&nbsp;</p> 2012-11-30T07:33:49-08:00 Adding extra printable document http://cartthrob.com/forums/viewthread/6587/ http://cartthrob.com/forums/viewthread/6587/#When:14:33:29Z <p>Hi Chaps,</p> <p>I’m running CTAdmin 1.4.5 (i think). On the Orders views page I need to add an extra button to allow a 3rd printable document.</p> <p>I’ve got most of it working just can’t figure out where it gets the path from.</p> <p>Any help would be most welcomed.</p> 2012-09-19T14:33:29-08:00 CT Admin Member Privileges http://cartthrob.com/forums/viewthread/5833/ http://cartthrob.com/forums/viewthread/5833/#When:05:41:46Z <p>What are the required member privileges required for CP Admin?</p> <p>I can view in my Super Admin account, however I want to setup another member group and allow them to use CP Admin</p> <p>Under “Module Access Privileges” I have set “Can access module: CT Admin” to “Yes” but it still doesn’t seem to show up in CP for members of that group.</p> <p>Have I missed something?</p> 2012-07-18T05:41:46-08:00 plus_tax in invoice http://cartthrob.com/forums/viewthread/5678/ http://cartthrob.com/forums/viewthread/5678/#When:01:42:12Z <p>Hi Eric, just trying to set up a custom invoice and I would like to use VAT inclusive prices. I have tried using the {item_price:plus_tax} variable in the {exp:ct_admin:invoice order_id=”{segment_3}” customer_id=“CURRENT_USER”} tag but it does not appear to work. Is this correct or I am just doing something stupid? cheers Kenny</p> 2012-06-26T01:42:12-08:00 PHP Errors adding to cart http://cartthrob.com/forums/viewthread/5531/ http://cartthrob.com/forums/viewthread/5531/#When:10:23:20Z <p>I’m experiencing PHP errors when trying to add to cart. There are two instances when this happens. The first only happens on packs. I had an add to cart form working fine in my template for single products like so:</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">{exp</span><span style="color: #007700">:</span><span style="color: #0000BB">cartthrob</span><span style="color: #007700">:</span><span style="color: #0000BB">add_to_cart_form&nbsp;entry_id</span><span style="color: #007700">=</span><span style="color: #DD0000">"{entry_id}"&nbsp;</span><span style="color: #0000BB">no_tax</span><span style="color: #007700">=</span><span style="color: #DD0000">"{no_tax}"&nbsp;</span><span style="color: #0000BB">no_shipping</span><span style="color: #007700">=</span><span style="color: #DD0000">"{no_shipping}"&nbsp;</span><span style="color: #007700">return=</span><span style="color: #DD0000">"cart"</span><span style="color: #0000BB">}<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"hidden"&nbsp;</span><span style="color: #0000BB">id</span><span style="color: #007700">=</span><span style="color: #DD0000">"product_quantity"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"quantity"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">"1"&nbsp;&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;</span><span style="color: #0000BB">input&nbsp;</span><span style="color: #007700">class=</span><span style="color: #DD0000">"button"&nbsp;</span><span style="color: #0000BB">type</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">"Add&nbsp;to&nbsp;Cart"&nbsp;</span><span style="color: #007700">/&gt;<br /></span><span style="color: #0000BB">{</span><span style="color: #007700">/</span><span style="color: #0000BB">exp</span><span style="color: #007700">:</span><span style="color: #0000BB">cartthrob</span><span style="color: #007700">:</span><span style="color: #0000BB">add_to_cart_form}&nbsp;</span> </span> </code></div> <p>So that works on single product, but when I try to add a package product to the cart, I get a bunch of PHP errors like so:</p> <p><a href="http://cartthrob.com/?URL=http%3A%2F%2Fappleuserpro.com%2Faround-the-web%2Fcartthrob-forums%2F2012-05-30%2F01-cartthrob-php-error-01.jpg"><img src="http://appleuserpro.com/around-the-web/cartthrob-forums/2012-05-30/01-cartthrob-php-error-01-small.jpg" alt="" /></a></p> <p>So I tried the add to cart template method like this:</p> <div class="codeblock"><code><span style="color: #000000"> <span style="color: #0000BB">{exp</span><span style="color: #007700">:</span><span style="color: #0000BB">cartthrob</span><span style="color: #007700">:</span><span style="color: #0000BB">add_to_cart&nbsp;entry_id</span><span style="color: #007700">=</span><span style="color: #DD0000">"{segment_3}"&nbsp;</span><span style="color: #0000BB">quantity</span><span style="color: #007700">=</span><span style="color: #DD0000">"1"&nbsp;</span><span style="color: #007700">return=</span><span style="color: #DD0000">"cart/index"</span><span style="color: #0000BB">}&nbsp;</span> </span> </code></div> <p>That doesn’t work for any product, single or package and results in the following errors:</p> <p><a href="http://cartthrob.com/?URL=http%3A%2F%2Fappleuserpro.com%2Faround-the-web%2Fcartthrob-forums%2F2012-05-30%2F02-cartthrob-php-error-02.jpg"><img src="http://appleuserpro.com/around-the-web/cartthrob-forums/2012-05-30/02-cartthrob-php-error-02-small.jpg" alt="" /></a></p> <p>Interestingly, with either method the products appear to be added to the cart when I manually go to the cart page.</p> <p>I really need to get this solved as quickly as possible. Any help on this?</p> <p>Thanks!</p> 2012-05-30T10:23:20-08:00 Batch printing / processing http://cartthrob.com/forums/viewthread/5451/ http://cartthrob.com/forums/viewthread/5451/#When:07:58:16Z <p>Hi Eric, I think I mentioned elsewhere but batch printing functionality of orders would be great for us.</p> <p>I am thinking of being able to sort orders by status or shipment method, country or even value so that we could print orders in batches. We normally go for something like Royal Mail which tend to be low value, single items and then high value large items or multiple items which go by courier. </p> <p>Check boxes next to each order would allow us to print the invoice/packing lists and change statuses from queued to printed in one hit. Opening and closing each individual order would be too slow for us.</p> 2012-05-14T07:58:16-08:00