Jump to content

drillsar

Members
  • Content count

    26
  • Joined

  • Last visited

About drillsar

  • Rank
    PrestaShop Apprentice

Profile Information

  • Location
    USA NJ
  1. Return module?

    Is there away to allow certain product not returnable?
  2. Looking for away to charge for po box shipping or disable it. Thanks
  3. this one seems to work but not available for my version: https://addons.prestashop.com/en/shipping-costs/19772-localized-shipping.html
  4. I am looking for a module that is able to determine ship price by zip code using wildcards. Also capable of percentage of order total and able to add in price. As of now prestashop only allows amount not a percentage. Example zip codes starting with 010* to 089* would be part of a zone. Also looking for a way to disable shipping to po box or charge them according to table like above.
  5. SHipping by percentage of price?

    Is this possible with prestashop?
  6. Prevent Po Box Shipping?

    Can this be done in newest version? Where is this file located? For anyone looking to do this, this is the solution I finally came up with. <input type="text" class="form-control" name="address1" id="address1" value="{if isset($smarty.post.address1)}{$smarty.post.address1}{/if}" title="Please enter a valid street address, we do not except P.O. Box addresses" pattern="^(?! *(#\d+|([bB][oO][Xx]|[Bb][Ii][Nn])[-. /\\]?\d+|.*[pP][ .]? ?[Oo0][-. /\\]? *-?(([bB][oO][Xx]|[Bb][Ii][Nn])|b|(#|[Nn][Uu][Mm])?\d+)|[Pp]([Oo][Ss][Tt])? *([Oo]([Ff]{2}([Ii][Cc][Ee])?)?)? *(([bB][oO][Xx]|[Bb][Ii][Nn])|? *\d+|[Pp] *-?/?[Oo]? *-?[bB][oO][Xx]|[Pp][Oo][Ss][Tt] [Oo][Ff][Ff][Ii][Cc][Ee] ([bB][oO][Xx]|[Bb][Ii][Nn])|(([bB][oO][Xx]|[Bb][Ii][Nn])|[Bb]) *([Nn][Uu][Mm][Bb][Ee][Rr]|[Nn][Uu][Mm]|#)? *\d+|([Nn][Uu][Mm][Bb][Ee][Rr]|[Nn][Uu][Mm]|#) *\d+)).*"/> Open up authentication.tpl and find the input fields with the id of "address1" (there should be two of them within the file) and replace them with the code provided above. From what I can tell that should be enough to validate against PO Box addresses inputted into the fiels. No additional code is required. Below you will find the additions and what they do: title="Please enter a valid street address, we do not except P.O. Box addresses" When you enter something into the field that doesn't match the validation criteria you will receive a message telling you to make sure your content is inputted in the correct format but by default it doesn't tell you what the correct format should be. Adding a title attribute will allow you to add content to the validation message that pops up giving the user an indication of why the form will not submit. pattern="^(?! *(#\d+|([bB][oO][Xx]|[Bb][Ii][Nn])[-. /\\]?\d+|.*[pP][ .]? ?[Oo0][-. /\\]? *-?(([bB][oO][Xx]|[Bb][Ii][Nn])|b|(#|[Nn][Uu][Mm])?\d+)|[Pp]([Oo][Ss][Tt])? *([Oo]([Ff]{2}([Ii][Cc][Ee])?)?)? *(([bB][oO][Xx]|[Bb][Ii][Nn])|? *\d+|[Pp] *-?/?[Oo]? *-?[bB][oO][Xx]|[Pp][Oo][Ss][Tt] [Oo][Ff][Ff][Ii][Cc][Ee] ([bB][oO][Xx]|[Bb][Ii][Nn])|(([bB][oO][Xx]|[Bb][Ii][Nn])|[Bb]) *([Nn][Uu][Mm][Bb][Ee][Rr]|[Nn][Uu][Mm]|#)? *\d+|([Nn][Uu][Mm][Bb][Ee][Rr]|[Nn][Uu][Mm]|#) *\d+)).*" The pattern attribute is what tells the input field what is valid and what is not. This pattern can be used to exclude PO boxes is some of the main text formats that people might us (POBOX, P.O box, po bin, etc). Adding this to any text based input field will allow you to make that form validate against PO boxes.
  7. I noticed in theme position it's under footer Where should this be in? I added it to DisplayLeftColumn and still nothing..
  8. I just installed this module and not showing vertical categories. My site http://www.giftboundgifts.com
  9. For people that install prestashop for 1st time if you get the following error: Recursive write permissions for www-data user on ~/config/ Recursive write permissions for www-data user on ~/cache/ Recursive write permissions for www-data user on ~/log/ Recursive write permissions for www-data user on ~/img/ Recursive write permissions for www-data user on ~/mails/ Recursive write permissions for www-data user on ~/modules/ Recursive write permissions for www-data user on ~/themes/default-bootstrap/lang/ Recursive write permissions for www-data user on ~/themes/default-bootstrap/pdf/lang/ Recursive write permissions for www-data user on ~/themes/default-bootstrap/cache/ Recursive write permissions for www-data user on ~/translations/ Recursive write permissions for www-data user on ~/upload/ Recursive write permissions for www-data user on ~/download/ Do the following: Add user to group www-data Sudo chown -R user:www-data path to prestashop dir Sudo chmod g+w -R path to prestashop dir After install to make it more secure sudo find . -type f -exec chmod 644 {} \; sudo find . -type d -exec chmod 755 {} \; give group write permissions to following dir's sudo chmod g+w -R app/logs, app/cache, img, modules, translations, upload, download, mails, config, themes Also edit .htaccess in your admin folder and add order deny,allow deny from all allow from IP address chmod 444 .htaccess
  10. I was wondering how to add payment logos in the footer area; like Visa; Mastercard etc and Paypal thanks
  11. I have the Zone North America enabled and says on checkout when using account Unfortunately, there are no carriers available for your delivery address. Guest Checkout works. A bug?
  12. Bitcoin issues and Alipay issues not working correctly. When you checkout with bitcoins it adds items you didnt even order. I am thinking it needs to be unregistered when successful. Alipay says unrecognized request url
  13. When I check Enable SSL I get a 404 error Not FoundThe requested URL /admin/index.php was not found on this server.
  14. I figured it out was in app dir
  15. I set the config dir to 777 and still prestashop says set write permissions to config dir The log dir I don't even see where is that?
×