lightspeedretail / webstore Goto Github PK
View Code? Open in Web Editor NEWWeb Store eCommerce solution for Lightspeed
Home Page: http://www.lightspeedpos.com/webstore
License: Open Software License 3.0
Web Store eCommerce solution for Lightspeed
Home Page: http://www.lightspeedpos.com/webstore
License: Open Software License 3.0
This is specifically evident when using the Quote to Cart feature, where the new Cart gets created however the new Cart Items do not. This is due to a typo in CloneCart.
A percentage discount (i.e. 50% discount) may not round prices in the same way as LightSpeed when Orders are downloaded. This may result in payments being off by a penny or two due to recalculation in LightSpeed orders
USPS quotes from UAE and Korea are returning elements which are not properly parsing in the XML processor in shipping. As a result, the user sees a "unable to calculate shipping" message.
shipping.warning : Could not get USPS rates : usps Object
(
[uspsID:private] => xxxxxxxxx
[zipOrigination:private] => 11103
[zipDestination:private] => 61163
[pounds:private] => 1
[ounces:private] => 0
[country:private] => United Arab Emirates
[value:private] => 500.00
[markup:private] => 1.30
[methods:private] => Array
(
[0] => Priority Mail
[1] => Express Mail
[2] =>
)
[response:private] => <?xml version="1.0"?>
Aerosol products.
Butane gas lighters and refills.
Firearms, ammunition, and their components.
Gold, jewels, platinum, precious stones, and silver except in insured parcels.
Perishable infectious biological substances.
Perishable noninfectious biological substances.
Polished, whitened, artificial, or imitation pearls.
Pork products.
Printed matter offensive to Arabs and Muslims.
Radioactive materials.
Radio transmitters and receivers except under permit.
The maximum value of a GXG shipment to UNITED ARAB EMIRATES is $2,499 or a lesser amount if limited by content or value.
Medicines require prior authorization.1. Shipments, whose value does not exceed 500 dirhams and parcels that are not commercial and contain personal effects are generally exempt from all customs measures.
2. Shipments that exceed 500 dirhams in value and are commercial shipments must be accompanied by (a) the original invoices authenticated by the Consulates of the UAE; (b) authenticated certificate of origin; (c) list of the contents of the package; and (d) the certificate of exemption from duty, if applicable.First-Class Mail International items and Priority Mail International Flat Rate Envelopes and Small Flat Rate Boxes:
PS Form 2976 (see 123.61)
Priority Mail International parcels:
customer_register.tpl.php: Email
customer_register.tpl.php: Confirm Email
customer_register.tpl.php: Password
customer_register.tpl.php: Confirm Password
includes/xlsws/qform/XLSAutoCompleteTextBox.class.php: Search...
xlsws_includes/searchresults.php: No search keywords specified.
checkout_verify.tpl.php: I hereby agree .... needs to be split up
promo_code.tpl.php: Apply Promo Code
search_advanced.tpl.php: Advanced Search
includes/data_classes/Customer.class.php: Password too short ... needs to be split up.
Enabling the generic sidebar currently leads to broken Ajax.
For large qty of products, huge folders are creating issues for uploader. FTP is also impossible to view since there is a 2000 item limit on a directory view.
When proceeding to checkout, a white page may be displayed if an unknown tax code is passed.
This is caused on Line 990 of /includes/xlsws/_functions.php where we are calling sp( instead of _sp( when attempting to print the error message.
Please remove all closing PHP tags ?> It's not necessary
All call by references should be removed. It's really bad for performance.
.... more to come :)
_xls_site_dir is trying to match on $_SERVER['HTTPS'] == 1 instead of == on.
This causes the base_href of the index to always point to the HTTP site and therefore always loads resources or posts back to the HTTP site.
Rotating version number to 2.1.1, adding to changelog.
If you have a dollar promo code which brings an item to zero price (promo code greater than value of item) it may not reflect the discounted price when downloaded into LS orders.
A cart that has been updated by LightSpeed and then re-uploaded gets assigned a new Linkid.
A typo is preventing password reset from working correctly.
On some systems, it appears that _mysql_real_escape is returning null, which would indicate that it's not detecting the database connection, thought it should exist. This is therefore preventing the search popup from appearing.
There are actually several options we can look at -- removing completely, or only for logged in users, depending on an Admin panel setting. This may be done with concurrently looking at reCaptcha options instead of the built-in captcha.
From customer:
Due to a duplication of state codes in the SQL database the wrong states can be loaded.
For Example: 4 out of 12 Dutch states are loaded incorrectly (Florida Flevoland, etc...)
Easy Fix: Have webstore look at country code first or change state codes to prevent duplicates.
The Cart Add and Update sequences call UpdateItemQuantity which is not checking the configuration option.
The SEO Friendly URL parser needs to verify that the last / is not considered as a valid part of the path so as to prevent the search page from appearing.
The issue occurs due to index.php:104
A typo is preventing the duplicate product code errors from displaying in the console.
This is a rewrite of an earlier system check that was lost. Post-check can be run on the installer as a flag to verify that all the upgrade steps were performed for troubleshooting purposes.
Check will verify that Upgrade Database has been performed, new templates have been added, correct configuration.inc.php exists, etc.
Customer Request:
Option to allow tier shipping to work off weight instead or price, i.e. 0-20 lbs for one price, 21-50 lbs for the next price, etc.
When Restricted Shipping is enabled, the states drop-down menu gets automatically populated with the all of the Country's states irrespective of the Available bool.
products_sliber_theme_bg should be removed (renamed) from CSS since upgrade directions instruct users to fix spelling in their templates. Was missed during release.
"California" appearing at top of list out of sequence when Restricted turned on to just US.
There's a discrepancy when setting DatetimeDue and DatetimeCre in the Cart objects which causes DatetimeCre to === DatetimeDue.
Installer should create includes/qcodo/cache/soap and includes/qcodo/cache/state folders if they do not exist.
Web Store is still throwing legacy warnings for our own code and we need to go in and perform cleanup.
After performing a Flush Category Tree, the uploader is unable to UpdateChildCount on the Category due to the Rowid magic that's occurring.
Category->HasProducts is doing a count on an integer.
There is code duplication on instantiating the slider on the product detail page. When a child Product gets selected, it rebuild the slider and is not associating the new template. This creates empty sliders.
SOAP errors when attempting to upload product photos to Godaddy 4GH. Products will work but fail on the photo portion. May be either a SOAP envelope size limitation, or something in Godaddy's FastCGI implementation.
relevant logs:
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] -1338986496 - - [19/Jul/2011 23:13:20] "Internal" "ERROR lib.webstore.webstore" - Unable to send large sized image for product 47 (ABCORAN) index 0. Trying with a smaller image.
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] Traceback (most recent call last):
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "lib/webstore/webstore.pyc", line 666, in __save_product
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "lib/webstore/webstoreproxy.pyc", line 115, in add_additional_product_image
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "lib/webstore/webstoreproxy.pyc", line 125, in __add_additional_product_image_http
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "lib/webstore/webstoreproxy.pyc", line 347, in __wrapped_http_call
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "lib/HTTPRequest.pyc", line 80, in make_request
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "urllib2.pyc", line 391, in open
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "urllib2.pyc", line 409, in _open
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "urllib2.pyc", line 369, in _call_chain
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "urllib2.pyc", line 1184, in http_open
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] File "urllib2.pyc", line 1159, in do_open
2011-07-19 11:13:20 PM com.xsilva.lightspeed.server2[1369] URLError:
2011-07-19 11:13:22 PM com.xsilva.lightspeed.server2[1369] -1338986496 - - [19/Jul/2011 23:13:22] "Internal" "WARNING lib.webstore.webstoreproxy" - <function make_request at 0x262e370>: Attempt 1 failed with HTTP Error 404: Not Found. Waiting 2.552s and trying again.
ue Jul 19 20:11:55 2011] [warn] [client xxx.xxx.xxx.xxx] mod_fcgid: stderr: save_product
[Tue Jul 19 20:13:21 2011] [warn] client xxx.xxx.xxx.xxxThe timeout specified has expired: mod_fcgid: can't get data from http client
[Tue Jul 19 20:14:24 2011] [warn] client xxx.xxx.xxx.xxxThe timeout specified has expired: mod_fcgid: can't get data from http client
[Tue Jul 19 20:31:27 2011] [error] [client xxx.xxx.xxx.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Tue Jul 19 20:31:30 2011] [error] [client xxx.xxx.xxx.xxx] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
Certain situations are causing the Master Web flag to be unticked during the upload Products. Furthermore, aggregate inventory counts do not seem to be calculated Properly anymore during upload.
The email link is sending out the internal cart loading url instead of the order tracking url.
Purchasing an item via the Gift Registry does not seem to reduce the inventory within the Registry Item.
Standard wording for a logged in user viewing the Edit Cart screen is "Shipping (Included Above)" which also displays when no Shipping charges have yet been specified and are not yet viewable.
Web Store does not currently provide support for SSL and TLS which causes a problem when you consider that a large majority of email providers require SSL and much of the user base is on Gmail.
To resolve this, we should do away with the previous mail subsystem and instead use Qcodo's QEmailServer.
Web Store version 2.1 increased the page expiry timeout on the checkout page to an arbitrarily large number. This was done so as to prevent lost orders however it did not take into account that a client's session typically expires in 24 minutes. This may lead to a situation where a client sites on the checkout page for ~24 minutes + and then attempts to checkout. Given that the session has now expires, so does the cart, which leads to clients being able to complete an empty transaction.
To resolve this all pages on the Web Store must expire on the same timeout.
Likewise, QFormState files should expire on the same interval as Sessions as there's no use for a form state file with a dead session.
When Restricted Shipping is enabled, the State drop-down menus are not being populated correctly with a list of all available states when a Destination with matching country code and a state of Any is defined.
The buy button does not appear properly centered on the line.
image.warning : No image data for
log overloading with debug messages
Initial Import of WebStore 2.1
All versions of Web Store seem to truncate the Name of Categories and therefore the Name of Links.
Going through the logic, Cart expiry could be considered dangerous since the initial cart creation date does not get updated. Commenting out the code until we revisit this feature.
PHP Fatal error: Call to a member function getValue() on a non-object in /home/isabella/public_html/store/xlsws_includes/shipping/iups.php on line 799
When setting up tier for free shipping, empty() is evaluating as an error instead of properly returning as 0
When you enter a Product Detail page for a Product within categories, the crumbtrail does not display the category hierarchy.
The default permissions were changed after transferring to GitHub.
Files should be 644, folders 755 with notable exceptions for
/includes/qcodo/cache and /photos
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.