Jump to content

Trevor Lawson

Members
  • Posts

    21
  • Joined

  • Last visited

Trevor Lawson's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. My site is on shared hosting with GoDaddy. On a CSV import, I am getting an error: "Error copying image:" The images are hosted by the product manufacturer. Here is an example image / location: http://www.drivemedical.com/ecommerce/gbam/12202kdrb-1.jpg I have tried hosting the pictures on the websites server, using a relative url with the same results. Relative url example: /ebayimg/drivepics/12202kdrb-1.jpg ( website: www.gbamedical.com ) Please help. . . I am trying to upload 1400 items. Thanks in advance, Trevor
  2. I reduced the size of the pictures and all are below 1 meg. Still same problem. I removed my PHP5.ini file and now I'm back to just the Prestshop error: "Error copying image:". The pictures are hosted on another server but I did a test with 5 items and hosted the pictures on my server. . . . same error Please help.
  3. I am having trouble with importing products with a CSV file. I am trying to upload a CSV file with about 1400 products. . . most with three pictures or so. .. . but the pictures are quite large at 3-4 megabytes. So far, while testing, I have only tried importing from a CSV file with 5 items. I originally was getting an error within prestashop indicating the pictures for my products could not be copied. The products were imported but just did not have the photos. I researched this and found that the PHP.INI file needed to be updated. I have done this with the following parameters: <?php ;;;;;;;;;;;;;;;;;;; ; Resource Limits ; ;;;;;;;;;;;;;;;;;;; memory_limit = 256M max_execution_time = 120 max_input_vars = 3000; suhosin.post.max_vars = 3000; suhosin.request.max_vars = 3000; ?> My PHP info file is here: www.gbamedical.com/info.php Now I get a 500 Internal Server Error. The actual error in the error log is the following: [Tue Jul 22 23:21:19 2014] [5435820] [fcgid:warn] [client 97.115.27.65:60638] mod_fcgid: read data timeout in 120 seconds, referer http://www.gbamedical.com/shoppe/05ad01min05/index.php?controller=AdminImport&token=62fefdea84f98bf2f436dafc040b6c1f [Tue Jul 22 23:21:19 2014] [5435820] [core:error] [client 97.115.27.65:60638] End of script output before headers: index.php, referer http://www.gbamedical.com/shoppe/05ad01min05/index.php?controller=AdminImport&token=62fefdea84f98bf2f436dafc040b6c1f What am I doing wrong? I have experimented with smaller pictures and it works but the vendor's data feed I am using does not have smaller pictures for the 1400 items and it is a MONSTER job to make them smaller. Thanks in advance for any help you might be able to offer. Trevor
  4. As I test the checkout on my website It seems that the "terms & conditions" checkbox which I have required in the BO is only unchecked on a first purchase from a user. With subsequent purchases the terms box is automatically checked. Is the terms & conditions check requirement supposed to be per purchase or per user? I really need for the user to check it every time. We sell medical equipment and there is a liability disclaimer I need to make sure they read each time they purchase. I have tried to change the code in order-carrier.tpl to "unchecked": <input type="checkbox" name="cgv" id="cgv" value="1" {if $checkedTOS}checked="unchecked"{/if} /> and I tried putting this script at the top of order-carrier.tpl: <script type="text/javascript"> {literal} $('document').ready( function(){ $('#cgv').attr('checked','unchecked'); }); {/literal} </script> Neither option seems to work. Any ideas?
  5. I like the module that razaro suggested but I can't find a way to link from the 'call for price' module I am using for items where their price is set to zero. The call for price module lets you use an image as a link to anything. I have it setup to open the users email program with a pre filled out email. What I am looking for is a way to pass the product name to the email. or. . . . a way to dynamically link the call for price button to the link for the module (ask more product information with captcha) razaro suggested or any other form email. Thanks
  6. Thank you vinaym! Success! I used your suggestions and found this site to help me along: http://www.prestadb.com/prestashop-override-controllers/ Here was my final code: <?php class ProductController extends ProductControllerCore { public function setMedia() { parent::setMedia(); Tools::addCSS(_THEME_CSS_DIR_.'prettyPhoto.css'); Tools::addjs(_THEME_JS_DIR_.'jquery-1.6.1.min.js'); Tools::addjs(_THEME_JS_DIR_.'jquery.prettyPhoto.js'); } } ?>
  7. I am trying to add a bit of javascript to the product.tpl as shown here: <script src="http://www.gbamedical.com/prettyphoto/js/jquery-1.6.1.min.js" type="text/javascript" charset="utf-8"></script> <link rel="stylesheet" href="http://www.gbamedical.com/prettyphoto/css/prettyPhoto.css" type="text/css" media="screen" charset="utf-8" /> <script src="http://www.gbamedical.com/prettyphoto/js/jquery.prettyPhoto.js" type="text/javascript" charset="utf-8"></script> for a light box like effect that I plan to use for youtube content. The script needs to be between the <head> tags of the page where I want the effect. I can get the script to work but it removes all the content from the categories block. What can I do to avoid this? Also, in the process of testing it. Even when I remove the script and bring it back to the original product.tpl file. . . .. now when I view the product.. . . . The text color in the category block is blue when it should be gray as in the rest of the templates. Any ideas on what I have done? My website address is: http://www.gbamedical.com Thanks in advance for your help.
  8. In my shop most items have a known price but some items will need to be quoted. I purchased the 'call for price' module which is good. It allows me to put text or an image in place of the price on an item where the price has been set to zero. I have set up an image that has an email link which automatically populates the subject and body of the email. What I need help doing is adding the specific product that the customer is asking about in the pre-populated subject and body sections of the email. Can someone tell me how I would go about doing this? Is there a variable string I could use? Here is a link to one of my items which will display the 'email for quote' option: http://gbamedical.com/shoppe/product.php?id_product=12 Here is the link code I am using thus far: <a href="mailto:[email protected]?subject=Please send quote for item:&body=Hi-%0DPlease send me a quote on the following item: "><img src="/shoppe/themes/destiny-skyblue/img/quote.png" width="120" height="22" border="0" /></a> Thanks in advance for any help you can offer
×
×
  • Create New...