Jump to content

serv0

Members
  • Posts

    11
  • Joined

  • Last visited

Profile Information

  • Activity
    Web development agency

Recent Profile Visitors

2,093,174 profile views

serv0's Achievements

Newbie

Newbie (1/14)

2

Reputation

  1. Awesome. Thanks that was it. I had to change it on my host's end. Perfect. Thanks so much!
  2. # ~~start~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again # .htaccess automaticaly generated by PrestaShop e-commerce open-source solution # http://www.prestashop.com - http://www.prestashop.com/forums <IfModule mod_rewrite.c> RewriteEngine on RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] # Images RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([a-z0-9]+)\-([a-z0-9]+)(\-[_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1-$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9]+)\-([0-9]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1-$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$1$2$3$4.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$1$2$3$4$5.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$1$2$3$4$5$6.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$1$2$3$4$5$6$7.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$1$2$3$4$5$6$7$8.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$1$2$3$4$5$6$7$8$9.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])([0-9])(\-[_a-zA-Z0-9-]*)?(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/p/$1/$2/$3/$4/$5/$6/$7/$8/$1$2$3$4$5$6$7$8$9$10.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^c/([0-9]+)(\-[\.*_a-zA-Z0-9-]*)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2$3.jpg [L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^c/([a-zA-Z_-]+)(-[0-9]+)?/.+\.jpg$ %{ENV:REWRITEBASE}img/c/$1$2.jpg [L] # AlphaImageLoader for IE and fancybox RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^images_ie/?([^/]+)\.(jpe?g|png|gif)$ js/jquery/plugins/fancybox/images/$1.$2 [L] # Dispatcher RewriteCond %{REQUEST_FILENAME} -s [OR] RewriteCond %{REQUEST_FILENAME} -l [OR] RewriteCond %{REQUEST_FILENAME} -d RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^.*$ - [NC,L] RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] </IfModule> #If rewrite mod isn't enabled ErrorDocument 404 /index.php?controller=404 # ~~end~~ Do not remove this comment, Prestashop will keep automatically the code outside this comment when .htaccess will be generated again
  3. I am running prestashop 1.5.4.0 I found my shop is giving a 302 "Temporary" redirect which is causing some issues with SEO efforts. When looking in my cpanel it is showing that the following is causing the 302 redirect which it should instead be a 301. Domain Directory Redirect URL Type mydomain.com / %{ENV:REWRITEBASE}index.php temporary After finding this in .htaccess and adding R=301 every link on my site just goes to the homepage RewriteCond %{HTTP_HOST} ^www.mydreamsarees.com$ RewriteRule ^.*$ %{ENV:REWRITEBASE}index.php [NC,L] Anyone have this issue before and know how I can get my site to stop redirecting as 302 and redirect as a 301 instead. I have in my shop seo&url to use www so when typing the url mydomain.com it is redirecting to http://www.mydomain.com Let me know if you would like me to post my full .htaccess file I am using this site to check the header http://www.seoreviewtools.com/redirect-checker-tool/
  4. I'm using the paypalpayments pro module from the prestashop addons store. My problem is that when a customer pays and I receive transaction details in paypal it shows the InvoiceID as the customers CartID... is there anyway I can set this InvoiceID to be sent as what would be the next OrderID 'id_order' if the payment is successful ? This will make it much easier for me to track my orders and invoices for reporting. The cartid is not a good number to use as the invoice id on paypal end for us because the cart id gets updated even when customers add stuff to cart and may not checkout right away or abandoned carts. Any help is appreciatd. Thanks,
  5. Hi, I have changed my invoices and order-history pages to show the order id instead of an order reference. So im showing it like this.. If the id of the order is 9 then it is showing as ORD0000009 using {l s='#ORD'}{$order_invoice->id_order|string_format:"%06d"} This works fine in the order invoice, order history and order details page. However I am having trouble finding how to change this in the emails that get sent to the customer when the order status changes for example when it is a new order, order processing, order shipped, credits, delivered and cancelled. I tried editing the {order_name} variable in the mailalerts module mailalerts.php but this does not change. The email still shows the order reference number. I was able to get the new order email to change by editing PaymentModule.php and updating the {order_name} variable. Does anyone know what files I need to edit for the other order statuses? Or what file handles sending out emails when the order status changes? Thanks,
  6. I didn't see a generatePDF() function in /classes/pdf/PDFGenerator.php however I did change the line starting at 157 public function render($filename, $display = true) { if (empty($filename)) throw new PrestaShopException('Missing filename.'); $this->lastPage(); if ($display === true) $output = 'D'; elseif ($display === false) $output = 'S'; elseif ($display == 'D') $output = 'D'; elseif ($display == 'S') $output = 'S'; else $output = 'I'; return $this->output($filename, $output); } To the following: public function render($filename, $display = true) { if (empty($filename)) throw new PrestaShopException('Missing filename.'); $this->lastPage(); if ($display === true) $output = 'I'; elseif ($display === false) $output = 'S'; elseif ($display == 'D') $output = 'I'; elseif ($display == 'S') $output = 'S'; else $output = 'I'; return $this->output($filename, $output); } After that change the view invoice button and view delivery slip in backoffice now show in new window and not does not download a file... However I'm not sure what else this may affect or if it will affect the way the system attaches pdf to email that is sent to customer, I will have to test that..
  7. I'm looking for how to do this also.. Anyone find out how?
  8. Im looking for the same option. I tried to do this adding my different gift wrap options as a combination but this makes me have to add a qty of stock for each gift option. Im looking for an option to just have gift wrap as an additional item on the product page and be able to add a price. Anyone know of a way to do what we are looking for or an addon.
  9. Hi, Our store has about 1713 items. And we now want to offer giftwrap options that have multiple prices. For example: Default Gift Wrap: $3.00 Birthday Gift Wrap: $5.00 Wedding Gift Wrap: $9.00 We have successfully added these options in combinations, but just realized that we would have to do these steps for every item one at a time since it wasn't setup in the beginning. Does anyone know or have any ideas to avoid having to go to each product one by one and add these same options. I just want to apply those same gift wrap options to ALL of the products. Is there a SQL query that can be run or a way in the backend that I may not be aware of to apply these options to all of the products at once? I'd like to see what other options are available before having to look purchasing module. Thanks in advance,
×
×
  • Create New...