Jump to content

starsg38

Members
  • Posts

    28
  • Joined

  • Last visited

Profile Information

  • Location
    United States
  • Activity
    Other

Recent Profile Visitors

514 profile views

starsg38's Achievements

Newbie

Newbie (1/14)

5

Reputation

2

Community Answers

  1. I think it may be something similar to this: {if $product.id_product = 9} Text Here {/if} Except for = 9 is not correct. So what can I add to $product.id_product to make it specific to the product id number?
  2. How can I change the text in the Block Cart Ajax Pop-Up based on the product it is currently showing. For example when you are on the products page you can show different text with the code: {if $product->id|intval==1} Custom Text {/if} This code won't work on the blockcart.tpl. How can I modify this code so that it will work/recognize the product in blockcart.tpl. Or what do I need to include in the blockcart file? I am in version 1.6. My image probably explains better what I am asking for:
  3. Does any one know how I can separate the shipping and handling charges in the shopping cart? I just want to show the two prices separately on two different lines. The reason is I have added a $25 screen charge to some of my custom items as a handling charge and when it is put together with the shipping it makes it look like a really high shipping price. Can anyone point my in the right direction? I was able to find this old post for version 1.3 but the code no longer works in 1.6: http://www.prestashop.com/forums/topic/69856-handling-cost/?p=411434. Maybe with some code modification it code work in 1.6?
  4. Can anyone help? I have been searching all over with no answer. I did find this old post that showed how to do it in version 1.3 but the code no longer works for 1.6. Maybe it can still be used with slight modifications? Any help would be very appreciated! http://www.prestashop.com/forums/topic/69856-handling-cost/?p=411434
  5. How can we write the "if" statement? I would like to add a certain product to the shopping cart if another certain product is in the cart. But I don't want the other item to be free.
  6. Also need help with this in 1.6.
  7. Does any one know how I can separate the shipping and handling charges in the shopping cart? I just want to show the two prices separately on two different lines. The reason is I have added a $25 screen charge to some of my custom items as a handling charge and when it is put together with the shipping it makes it look like a really high shipping price. Can anyone point my in the right direction? I think it might be something in the cart.php.
  8. Just has the same problem and Stat Counter was exactly it. Thanks!
  9. I usually name it just .htaccess without any file name in front of it. I don't know if that could have anything to do with it.
  10. Google will eventually stop indexing the links to pages that are no longer there. If you have some old links that are ranking high in the search results you might want to 301 redirect those pages to some relevant active pages on your site.
  11. You can open up notepad or text editor and type in the following code: RewriteEngine on rewritecond %{http_host} ^yourwebsite.com [nc] rewriterule ^(.*)$ http://www.yourwebsite.com/$1 [r=301,nc] and save the file as .htaccess with the Save as type set to "All Files" Put it in your root directory. If this doesn't work the Rewrite Engine might be turned off on your server.
  12. I have modified my ContactConroller.php to accept some more file extensions such as psd & tif. The psd & tif will go through the contact form fine but when I try to attach an ai it says it is an invalid file extension. Does anyone know if prestashop is by default set up to reject file extensions that are only two letters or less? If so, what file do I need to edit to change that?
  13. I would like to have more than one file upload field in my contact form so that customers can email more than one attachment at one time. I tried in my contact.tpl to copy the file field and rename with a 2 after it & then in the ContactController.php I tried to duplicate the $fileAttachment = Tools::fileAttachment('fileUpload'); line and change to fileUpload2. But that didn't work, it still only sent one attachment...so I must have missed something I am thinking it must be in the ControllerForm somewhere. Any one know how to achieve this?
  14. Yes this worked perfectly for me in 1.6! Thanks so much I have been looking for a solution to this problem for so long! I do have an image upload but I just left that in it's original form and labeled the save button as Upload instead of save.
×
×
  • Create New...