Jump to content

MrDerp

Member
  • Posts

    23
  • Joined

  • Last visited

Everything posted by MrDerp

  1. Thanks for your reply. I can confirm that the same behaviour is observed no matter which URL is used to enter the setup procedure. I've decided to start afresh and install a known working version of PHP as I need to get this sorted ASAP.
  2. So, it turns out that Apache wasn't writing to the error log (the group ownership on the file had somehow changed). Now that this is fixed, I can see the following entry when running the setup process: I can also confirm that this behaviour is present on all versions from 5.2.1 - 5.2.10. I can only assume it is related to this version of PHP - I wonder if there is a workaround?
  3. I meant the LAMP installations were the same in terms of the config/ini file setup (e.g. php.ini/apache conf files etc). I do have different versions of PHP and MySQL but CubeCart states that these are acceptable, so why would I question this? Okay, so which error logs do I need to look at? Nothing is being produced in the CubeCart folder, nor is Apache/PHP logging anything (and yes, php.ini is set to log errors). I can't give you a store URL at this stage as this is running on a test environment that isn't accessible to the outside world just yet. I can get this set up in the next 24 hours but I was just looking for some pointers, places to look for clues. If there was some proper documentation I wouldn't have to bother you with these questions. Thanks in anticipation.
  4. I have recently set up a new Ubuntu box with LAMP and decided that I would like to port my existing CC-based shopping cart to this new server. After copying the DB and files to the new server - and ensuring that the LAMP setup was identical - I had to abandon this as I was only getting blank screens (I migrated a number of other database-driven websites across and these all worked fine). So, in order to try and diagnose what was causing the blank screens, I decided to install a new (vanilla) version of 5.2.10. However, after entering the database details during the setup process and progressing to the next screen, again I am presented with a blank screen. There are no errors on screen, nor are any errors/warnings logged. I have spent a full day trying to work out what is going on but to no avail. I have scoured the web for documentation and spent hours looking through forum posts but, to my frustration, I haven't uncovered anything helpful. Could it be that CubeCart is incompatible with my version of PHP/MySQL? I have passed the compatibility checks (see below) and all the necessary files are writable, so there's nothing obviously wrong with my setup. Compatibility Check 5.5.9-1ubuntu4PHP 5.2.3+ 5.5.37MySQL 4.1+ InstalledGD Image Library InstalledcURL InstalledIonCube PHP Loader Please help!!!
  5. They're totally different. Also, if we were to just use a currency conversion we'd end up with lots of odd numbers e.g $19.43 as opposed to something more traditional like $19.99 (unless there's a way to round things up?).
  6. I just wondered if anyone could offer me some 'best practice' advice for rolling out a store to multiple regions. We are currently running a UK-based operation but we're also keen to setup a store for the American market (with a different URL). In order to minimise administration time, we would like to use the same database for both stores. However, the caveat is that we would need a different pricing structure for each region - it wouldn't be a simple currency conversion (from what I can see, CubeCart doesn't offer the facility to input different prices for different currencies). I have contemplated setting up a scheduled job to duplicate the UK DB on to the US environment minus any pricing information, but I'm concerned that this could lead to complications. The other option is to seek a 3rd party mod to allow us to have a different price for each region. My gut feeling is that the cleanest approach would be to go down the mod route, but I just wanted to make sure I wasn't missing anything obvious! Any help would be greatly appreciated.
  7. I'm having problems offering any of my customers coupons as, no matter what I try, I encounter bugs that render the coupon system unusable. My latest issue is with fixed price discounts. I want to set up a coupon offering a £100 discount to an important client of mine. However, no matter what parameters I use in the coupon admin screen, it just isn't working properly. Here is what I have tried: 1) I have added 2 products into my basket with a total value of £100. This value includes VAT @ 20% - the value before VAT is therefore £83.33, with a tax value of £16.67. 2) The appropriate discount code is then applied. This should result in a grand total of £0 (£100 - £100). However, what I am presented with is a value of £16.67 (i.e. the tax amount). 3) I then increase the value of my order to £150 (£125 + £25 tax) and again applied the £100 coupon. This left me with a remainder of £50. So, in this instance, the coupon DID apply to the tax component. The coupon itself is set to apply to all products. Strangely, the coupons behave completely differently when specific products are assigned - it takes £100 off EACH product - is this by design or just another bug? The way in which tax is handled differs depending on the parameters too. Sometimes the discount includes tax, sometimes it doesn't (I seem to recall when using percentages it doesn't include tax, but with fixed value it does...) I have raised a number of issues with the support team in the past regarding the coupon system as, quite frankly, this module needs a rewrite as it is littered with problems. However, they have been unwilling to look into these issues and when pushed for the reasons behind this, they just ignore my emails. Thanks in anticipation.
  8. The product in question is tax-free. However, the same issue occurs whether a product is tax-free or not. The coupon has unlimited uses, applies to a small subset of products and doesn't apply to shipping (we only offer free delivery). Perhaps the screenshot is misleading, but let me clarify what is going on: The product has a unit price of £15. I have added 2 of these to the cart - therefore the total value is £30 before any discounts are applied. Once the discount is applied, the unit price is £15 minus 10% = £13.50. So, the discount is £30 (the original value) minus £27 (the discounted value). As you can see, it is only showing a discounted value of £1.50 in the screenshot, not £3. No matter what the quantity is in this instance, it will always show a value of £1.50. Clearly, there is a piece of code somewhere that doesn't multiply the line discount by the line quantity.
  9. I was wondering if any of you CubeCart experts could help me with some issues I'm having with the coupon system in CC 5.2.1? I have logged these problems a number of times with support but they are unwilling to do anything about it (presumably not many of their customers use coupons?). I have uncovered several bugs with coupons but the one that is causing me the greatest concern at the moment relates to the fact the discounted value shows incorrectly in the cart when a product has a quantity greater than one (I know, you'd think they'd have tested that, right?). The attached file shows a product with a quantity of 2 and a unit price of £15, therefore the 10% discount should have resulted in a discount of £3. The total price is correct, but the discounted value is not. The other problems I'm having are less important right now: 1) Upgrading from 5.1.5 to 5.2.1 resulted in all my coupons being transferred from "coupons" to "gift certificates", where I could no longer edit or delete them. 2) When assigning products manually to a coupon, the discount % includes tax. When not assigning products and using universal coupons, they don't include tax. 3) Using the "Coupon applies to all EXCEPT..." rule results in abnormal percentages being applied when some products incur tax and others don't. Thanks in anticipation.
  10. The conversion rate is 1.00000. I am only allowing sterling transactions, so it can't be related to currency conversion. It looks like a rounding issue somewhere in one of the classes, but where?!
  11. RedSun - I'm having the exact same issues. I have logged multiple support calls regarding this but the development team have informed me that they're not prepared to look at this until the next release. Personally, I think this warrants a much more prompt response as it is an urgent problem that is having a massive impact on orders - it makes our site look extremely unprofessional and is bound to put people off. It is clear that the testing of the coupon module was extremely lacklustre (in fact, I'd hazard a guess that it wasn't tested at all).
  12. Just to add to this, it appears that fixed price discounts do not work at all in 5.1.5. There are also rounding issues with the discounts - I've just tried to take 10% off a product with a cost of £22.50, the discount was calculated at £2.26 and the grand total was £20.26!! I get the impression these kind of bugs are not being taken seriously but it makes the store look very unprofessional - these are simple calculations that the software shouldn't be getting wrong. Very frustrating.
  13. Many thanks for taking the time to look at the code - it's much appreciated. I can contact the support team again but they were reluctant to look at this until the release of 5.2.0, so I'm a bit stuck really! What surprises me more than anything is that more people haven't come across this problem, which I'm guessing is a combination of not many people running CC 5 and a large percentage of those not using coupons (or people not noticing as their systems haven't been tested since upgrading).
  14. I've updated my signature as requested. I'm UK-based and therefore we attract a standard VAT rate of 20%. Not all of our products attract VAT (we act as an agent on behalf of the artists for our original works) but the product shown in the screenshot does attract VAT at the aforementioned rate. That's the thing - shouldn't this system make it clear where that subtotal comes from? Anyone that looks at the checkout/receipt screens should instantly be able to grasp how the calculations have been derived. The subtotal of £75 comes from a total price of £100, minus the 10% discount, minus VAT (100 - 10 - 15). This isn't as issue specific to any one skin - it is an issue related to the fact the classes don't offer enough variables. For example, there doesn't seem to be an option (without customising the classes) to display a line price inc. VAT AND exc. VAT. Back to the discounts, again, the classes don't offer up a discount price inc. VAT and exc. VAT. Nor do they multiply the discount by the quantity of the products purchased, which is extremely frustrating and looks plain unprofessional (hence my frustration at the lack of testing).
  15. The frustrating thing is that there is probably a really simple fix - the correct discount value is being used in the background as the grand total is correct, so how do we get this to display in the template file? Anybody with a bit of technical expertise have any ideas?
  16. Upgrading from 5.1.4 to 5.1.5 was a relatively straightforward experience. The biggest problem for me was the buggy coupon system from 5.1.4, which appears to have been rectified in 5.1.5. However, for those people wanting to offer discounts to customers, upgrading to this version may not be a wise choice. The discounts are correctly factored in the grand total values, but the discount values themselves are broken - if a user has more than 1 of a particular item in their basket, the discounted value only reflects the discount value of 1. It also doesn't include VAT when the product itself does...this is extremely confusing for the customer and is not made clear enough. The developers have informed me that the discount issues - as well as the badly designed VAT system - may be redeveloped for 5.2.0, but what are users supposed to do in the meantime? These are core features that will surely impact on a lot of end-users.
  17. Is anyone else having problems with discount values being incorrectly displayed on basket/checkout pages, as well as on order confirmation emails and the admin panel? It has been accepted that 5.1.4 had a very buggy coupon system which appears to have been fixed in 5.1.5. However, in both versions the actual total discounted value is inaccurate, despite the grand total being correct. If you look at the attached screenshot you can see that there are VAT display inconsistencies (the developers have said that they may rewrite the VAT module for 5.2.0) but the biggest issue is the "Total Discount" value. The "Grand Total" in this instance is correct, but - unless I have the mathematical ability of a 2 year old - £100 minus £4.17 does not equal £90. For anyone using the coupon system, how are you getting around this problem? The developers don't see this as an urgent issue, so can anyone advise how to deal with this in the meantime? To compound this problem, I have also noticed that when an order goes from a "pending" to "processing" state, the discounted value is recalculated...once again, incorrectly. Was this system even tested?
  18. Many thanks for your detailed response, bsmither. It has certainly made things a little clearer but I am still struggling to get the filter and sort functions working in unison. Perhaps you would be kind enough to view my live page? http://www.creative-...demov5/all.html Above the list of product images, there is a bar including "Artist" and "Type" filters, as well as the sort function to the right. This website is still in development so please excuse any poor formatting and inconsistencies! I should also add that the values in each dropdown are derived from categories within CC. So, when a value is selected, the product select SQL in the catalogue class is updated to only select products found within the submitted category. For example: SELECT I.product_id FROM `ccCubeCart_category_index` as I, `ccCubeCart_inventory` as INV WHERE I.cat_id = 32 AND I.product_id = INV.product_id AND INV.status = 1 AND I.product_id IN (SELECT product_id FROM `ccCubeCart_category_index` WHERE `cat_id` = "52") Many thanks.
  19. The code for the product listing sort function currently looks something like this: <form id="sort" action="{$VAL_SELF}" method="post" class="clearfix"> {if isset($SORTING)} <span class="sort"> <!--<label for="sort">Sort:</label>--> <select name="sort" onchange="this.form.submit();" title="{$LANG.form.sort}" class="auto_submit"> <option value="">-- Sort By --</option> {foreach from=$SORTING item=sort} <option value="{$sort.field}|{$sort.order}" {$sort.selected}>{$sort.name} ({$sort.direction})</option> {/foreach} </select> </span> {/if} <!-- EXTRA SELECT FIELDS DEFINED IN SMARTY--> {$FILTER_FIELDS} </form> However, I would like to add an extra select statement into this form that will allow me to filter products based on user-defined criteria. It seems that - due to how these form requests are handled by the classes - I am unable to add anything else into this form without breaking it. The thing that is puzzling me in particular is how this is a "post" form, yet I can see from the URL that the form variables are being passed using "get". Can anyone point me in the right direction in terms of the location of the code that is converting the post vars to get vars? I believe that I will need to modify this bit of code to handle my extra selects in a similar sort of fashion. I can use two separate forms with limited success - I can sort products and THEN filter them using values from the other form, but if I sort and THEN filter products my original filters variables are lost on page refresh. Any help would be greatly appreciated!
  20. Many thanks for your help - introducing whitespace around the braces did the trick.
  21. I am trying to create a simple Twitter follow button on the homepage template (content.homepage.php) using the following code: <img src="{$STORE_URL}/skins/{$SKIN_FOLDER}/images/social/twitter.png" alt="Follow us!"/> <a href="https://twitter.com/share" class="twitter-share-button" data-via="twitterapi" data-lang="en">Tweet</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script> This code is straight from the Twitter developers' website and works fine on any other website. However, for some reason in CC5 - when this code is present - the page stops loading and I am just presented with a white screen (this is universal across all browsers). Is this a known issue with CC5? Could it be that there is a JS conflict somewhere? Thanks.
  22. I am currently in the process of developing a shopping cart that will ultimately sell original artwork. In order to reduce the amount of administration in-house, we would like to give our artists the ability to upload and manage their own products. I have found an Inhouse Affiliates/Vendors mod for CC4 which would be ideal, but the developer currently has no plans to implement this for CC5 . Can anyone give me any guidance on how best to handle this requirement? I could create individual accounts for each artist, but I can't see a way of stopping them from then accessing and amending works by other artists. We would also like a means of validating and approving the artwork, which further complicates the problem. Any ideas?
  23. I have a few top-level categories that, when clicked on, the user should have a number of drop-down menus to refine the results. I'll explain this with an example: Top Level Categories - Prints, Original Artwork Say the user selects the "Prints" category, I would like all prints to be displayed, but with the option to refine these results by selecting the one of the following: Artist, Size, Style etc I appreciate that this can be done using sub-categories but this isn't the behaviour I desire - I would like ALL products within the main category to be shown BEFORE the sub-category is selected. I've had a look at implementing this myself but it's not as simple as I'd hoped! Does anyone know if this is possible or whether I would need to request a modification? Thanks in anticipation.
×
×
  • Create New...