Jump to content

smallbizwiz

Members
  • Posts

    58
  • Joined

  • Last visited

1 Follower

Profile Information

  • Location
    Tampa Bay, FL
  • Activity
    User/Merchant

Recent Profile Visitors

4,206,945 profile views

smallbizwiz's Achievements

Newbie

Newbie (1/14)

8

Reputation

  1. Sorry for such a late reply, haven't been coding lately...yes, you could accomplish 0, 1 or more than 1 carrier for a given product. The INSERT statement would be exactly the same, just replace the id_carrier_reference with the carriers that wish to have. To be clear, you can have more than one row in ps_product_carrier with hte same id_product. If product #1 has four carriers, the insert statements might look like this: NSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('1','5','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('1','6','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('1','7','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('1','8','1');
  2. I found the issue: Quick search block. Using the User-Agent Switcher in Chrome, I noticed an error thrown when the screen was re-sized to mobile size, causing responsiveness to set in. At this time, an error appeared in the console: "Uncaught ReferenceError: blocksearch_type is not defined www.beachrewards.club/themes/default-bootstrap/js/modules/blocksearch/blocksearch.js:71" In BO-Modules-Quick search block - disable. Now it works. I'm going to create a hack that gets this to work, but it seems like something that should be built-in to the next version, right?
  3. I recently upgraded to 1.6.0.9, and I'm using all of the default_bootstrap files (i.e. no file changes or new modules). I'm having the same issue. It is easily viewable using the User-Agent Switcher in Chrome, and also the issue appears with my iPhone and Samsung devices. Obviously, I've tried the suggested changes above, most of which had already been incorporated to 1.6.0.9. I wonder if a configuration setting in the BO causes this? I will search, but let me know if anyone has any other ideas.
  4. El Patron - Thanks for the info! The upgrade went super smooth. I completely re-built the PS installation, and it was up and running, fully configured, within 30 minutes - record speed. 1.6.0.9 is sooooooooo much better. Just simple things like the automatic child menu on-hover in BO, and the theme configurator/logos on one page. Thanks for the heads up! Here's the link I was asking about; it might help others: http://www.prestashop.com/en/developers-versions ~/www/yourdomain/public_html#: wget http://www.prestashop.com/download/old/prestashop_1.6.0.9.zip
  5. Thanks Patron. This is good timing; I'll try that later this week. Can you give any pointers on when to download the latest revision? I have worked with PS long enough to learn (the hard way) to customize as little as possible. That being said, can you give some pointers when to upgrade to a new version? What download page is the best for being the authority on the latest release? Thanks again for the help! Teo
  6. I wouldn't say this is solved, but I found a way to do this that isn't too painful via MSExcel and MySQL INSERT query. In your CSV file, force ID column, aa in this example. Also create a column for the id_carrier, zz in this example. Lastly. create a column that is ignored by the CSV upload but used for an SQL query. In this ignored column, enter the formula: =CONCATENATE("INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('";aa1;"','";zz1;"','1');") The resulting text should look something like: INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('100','5','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('101','6','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('102','7','1'); INSERT INTO `ps_product_carrier` (id_product, id_carrier_reference, id_shop) VALUES ('103','8','1'); After uploading the products, copy and paste this entire column into mysql> to execute the queries. Worked for me! Hope it helps someone out! Teo
  7. I am on 1.6.0.2, and I received the same error. I FTP'd the version from the 1.6.0.2 zip file in /modules/blocksearch to my server, and it's working now. I guess clicking Update from Modules - Modules in the back office upgrades the module to the latest version and not the most compatible???? Really strange since 1.6.0.2 is the stable release at this time.
  8. I need this as well. Hopefully someone finds this. I have several categories and a different local courier for each category. This will be very tedious to do it manually in the back office. I see an Advanced Stock Management column in the CSV upload file, but no carrier. Might have to write an SQL query to accomplish this????
  9. Did this ever get completed? It seems pretty simple to allow the customer to upload a picture and associate it with their profile just like their birthday, etc. It wouldn't be hard to make this module, but...
  10. In a module, I need to create a cart rule that contains product restrictions. I can see that we set $cart_rule->product_restriction to 1 to indicate there is a product restriction fro the cart rule. How do we take the next step to indicate the actual products/categories that are included in the restriction? That is, after executing $cart_rule->add(), how does the cart rule know what restriction to apply exactly? I would assume we pass an array of types and IDs to a function that will do this???? I could certainly use brute force to insert data into cart_rule_product_rule, cart_rule_product_rule_value and cart_rule_product_rule_group tables, but there has to be a systematic way to do this in PS. Help!!!! Thanks guys, Teo
  11. I have tested extensively using 775, and it works great. 775 allows the group owning the folder to read/write/execute but prohibits anyone else. You need to add the user to www-data via ssh: # usermod -a -G www-data yourftpuser. Verify the group membership, #id yourftpuser. Verify the ownership of the folder #ls -l. Try your FTP. Good luck!
  12. Well, if we're in that position, eek, that sucks, then I would back-up and re-install! If you're stuck for more than an acceptable amount of time, the next step: Install clean version of PrestaShop with the same version of the PS with the problem - does the clean install have the problem? If the answer is no, then some combination of modules, customizations, edits, etc caused the issue. In my experience, rarely is there a legitimate bug in PrestaShop with a version that's been out for a few months. This may seem simple, but sometimes when you get into a problem, looking for answers discretely only makes matters worse, ya know? Separately, I really recommend to all to try installing their next site on a dedicated server. It's pretty cheap via the cloud ($10/month), and you get all the control of your server. Good luck!
  13. Do you know if there's an issue setting directory permissions to 765 instead of 755? I want to use vsftp and add the user FTPing to the www-data group vs. setting ownership to the user.
  14. After messing with it for an hour, I just wiped out the prestashop directory and re-installed. It is working now. I bet it was a combination of chmod changes, chown changes and modules enabled/disabled installed/updated/deleted. Who knows, the re-installation of PS only took 20 minutes, so back-up your database and start over - it's much easier
  15. Me too...getting JQuery not defined, undefined is not a function and other seemingly basic errors. I gave 777 permissions to the entire file system to try to take permissions out of the equation. Next order of business will be uninstalling modules...
×
×
  • Create New...