Jump to content

DARKF3D3

Members
  • Posts

    1,497
  • Joined

  • Last visited

  • Days Won

    5

DARKF3D3 last won the day on March 23 2024

DARKF3D3 had the most liked content!

2 Followers

Profile Information

  • Location
    Italy
  • Activity
    Agency

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DARKF3D3's Achievements

  1. Hi @CLEMENCE Thanks for the suggestion but I prefer not adding another plugin just for this, especially considering that it is a native PS feature. @sparkest The problem is that from the product page you don't have to type the target url, you just select the target product from the dropdown, than the redirection should be created automatically by PS. But clearly there is some problem with it.
  2. Hi, I have a problem with the PS native feature that allow to redirect deactivated products. I chose 301 permanent redirect to another products. Then I select the desidered products from the dropdown. But when opening the url of the deactivated products, it's redirected to a not working page with my shop url followed by product id and - For example: https://www.mywebsite.it/mug/3464-mug-koala-termosensibile.html It's redirected to: https://www.mywebsite.it/5113- The id it's correct, but it's missing the products name and .html I can't find a way to fix this... Any help?
  3. @Fabry Attualmente anche io sto gestendo le zone disagiate filtrandole per cap, il problema è che il cap non è univoco e ci sono cap che possono corrispondere sia a località disagiate che non (es. sotto il cap 07046 di Porto Torres ci sono le frazioni che si trovano sull'isola dell'Asinara). Quindi in questi casi, o si fa finire anche il comune "standard" nella tariffa per zone disagiate, oppure la zona disagiata nella tariffa per località "standard". L'unico modo sarebbe un controllo anche sul nome del comune. Voi come avete risolto?
  4. Yes, your solution would certainly have been quicker, but unfortunately I cannot deactivate friendly urls on my site because In past I customized some urls using a module, which I tehn removed. So if I deactivate friendly url, then I wont be able to activate them again, because some settings are not accepted by PS.
  5. Thanks@przemex, your suggestion pointed me into the right direction to fix the issue. Into htaccess file I had these rules for www redirect that interfered also with the subdomain. Once removed images showed up correctly RewriteEngine On RewriteCond %{HTTP_HOST} !^www\. RewriteRule ^(.*)$ https://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
  6. @Nickz I'm PS8.1 with classic theme. The cdn has been created simply ading the subdomain in Plesk, setting it's root directory the same as the main folder of PS.
  7. Hi, I created a self hosted cdn configuring a subdomain that point to the same folder as the prestashop installation of the main domain. From PS b.o. "Media servers" page (Advanced paramenters >> Performance) I wrote the subdoman url. Now css and js files are served correctly by the self hosted cdn, but the images are not showed up. The url of the images seem to be correct, but result in 404 error. Any idea on why this happens?
  8. Into the changelog of last version of Newsletter Wizard Pro it say: "New Feature : Product Block for adding products to newsletters". But I haven't yet updated and tested mine. What can I say is that since I stated using the module a lot of feature has been added and the developer of the module it's always available to give support and solve problems. Unlike the Newsletter Pro module where the support is almost non-existent.
  9. Ciao, non credo sia possibile farlo senza l'utilizzo di moduli.
  10. Do you see the connection from this ip address also after you limited access from your ip only?
  11. Buongiorno, un cliente mi ha segnalato di non poter eliminare (e modificare) un'indirizzo presente nel suo account. Dice che restituisce errore poiché risulta associato ad un carrello/ordine. Se provo ad eliminarlo dal back office restituisce il seguente errore: Errore interno #An error occurred when deleting Address object with id "54729". Dal back office ho verificato ed effettivamente quell'indirizzo è associato ad un'ordine. Possibile che non ci sia modo di cancellare un vecchio indirizzo, se questo è stato usato per un ordine fatto in precedenza?
  12. Can you share the url of the website?
  13. In case anyone is interested, this can be done on PS8.1 editing "/classes/formCustomerAddressFormatter.php" file. Around line 90 add: $formField->setType('tel'); foreach ($fields as $field) { $formField = new FormField(); $formField->setName($field); $fieldParts = explode(':', $field, 2); if (count($fieldParts) === 1) { if ($field === 'postcode') { $formField->setType('tel'); if ($this->country->need_zip_code) { $formField->setRequired(true); } } elseif ($field === 'phone') { $formField->setType('tel'); } elseif ($field === 'dni' && null !== $this->country) { if ($this->country->need_identification_number) { $formField->setRequired(true); } }
  14. In case anyone is interested doing this on PS8.1, you just have to edit "/classes/Address.php" file. Here you can change the "size" value: // when you override this class, do not create a field with allow_null=>true // because it will give you exception on checkout address step public static $definition = [ 'table' => 'address', 'primary' => 'id_address', 'fields' => [ 'id_customer' => ['type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false], 'id_manufacturer' => ['type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false], 'id_supplier' => ['type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false], 'id_warehouse' => ['type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId', 'copy_post' => false], 'id_country' => ['type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true], 'id_state' => ['type' => self::TYPE_INT, 'validate' => 'isNullOrUnsignedId'], 'alias' => ['type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'required' => true, 'size' => 32], 'company' => ['type' => self::TYPE_STRING, 'validate' => 'isGenericName', 'size' => 255], 'lastname' => ['type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 255], 'firstname' => ['type' => self::TYPE_STRING, 'validate' => 'isName', 'required' => true, 'size' => 255], 'vat_number' => ['type' => self::TYPE_STRING, 'validate' => 'isGenericName'], 'address1' => ['type' => self::TYPE_STRING, 'validate' => 'isAddress', 'required' => true, 'size' => 128], 'address2' => ['type' => self::TYPE_STRING, 'validate' => 'isAddress', 'size' => 128], 'postcode' => ['type' => self::TYPE_STRING, 'validate' => 'isPostCode', 'size' => 12], 'city' => ['type' => self::TYPE_STRING, 'validate' => 'isCityName', 'required' => true, 'size' => 64], 'other' => ['type' => self::TYPE_STRING, 'validate' => 'isMessage', 'size' => 300], 'phone' => ['type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32], 'phone_mobile' => ['type' => self::TYPE_STRING, 'validate' => 'isPhoneNumber', 'size' => 32], 'dni' => ['type' => self::TYPE_STRING, 'validate' => 'isDniLite', 'size' => 16], 'deleted' => ['type' => self::TYPE_BOOL, 'validate' => 'isBool', 'copy_post' => false], 'date_add' => ['type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false], 'date_upd' => ['type' => self::TYPE_DATE, 'validate' => 'isDate', 'copy_post' => false], ], ];
×
×
  • Create New...