Jump to content

Spudz

Members
  • Posts

    15
  • Joined

  • Last visited

Spudz's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Everything has been working fine with this until yesterday when I changed my time zone in "config.inc.php" from Europe to "America/Los_Angeles" on line 16. date_default_timezone_set('America/Los_Angeles'); Now the "Visitors online now" stays stuck at 0 even when I hit the site from another IP. But the total visitors seems to increment correctly, its just the "online now" stat that doesnt work. thanks for any advice.
  2. Okay this turned out to be fairly simple In /modules/feeder/rss.php in the code for this I just added a line using the 'pubDate' rss tag: <?php foreach ($products AS $product) { $image = Image::getImages(intval($cookie->id_lang), $product['id_product']); echo "\t\t\n"; echo "\t\t\t<title><![CDATA[".$product['name']." - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')." ]]></title>\n"; /* this line added */ echo "\t\t\t<![CDATA[".$product['date_add']." ]]>\n"; /* end customization */ echo "\t\t\t<img src="http://".htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__."img/p/".$image[0]['id_product']."-".$image[0]['id_image']."-small.jpg" title="".$product['name']."" alt="thumb" /> <![CDATA[".$product['description_short']."]]>\n"; echo "\t\t\t<link><![CDATA[".'http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').htmlspecialchars($link->getproductLink($product['id_product'], $product['link_rewrite'], Tools::getValue('id_category'))).$affiliate."]]></link>\n"; echo "\t\t\n"; } ?>
  3. I need to add a date field that defaults to the date a new product is entered. And displays in the RSS feed for the product.
  4. I need to figure out a way to add the 'date_add' field from the products table to show up in the rss.php page: I poked a little around on the code, it looks like it could be dropped in here somehow, but my attampts haven't worked (I am not a PHP coder) <?php foreach ($products AS $product) { $image = Image::getImages(intval($cookie->id_lang), $product['id_product']); echo "\t\t\n"; echo "\t\t\t<title><![CDATA[".$product['name']." - ".html_entity_decode(Tools::displayPrice(Product::getPriceStatic($product['id_product']), $currency), ENT_COMPAT, 'UTF-8')." ]]></title>\n"; echo "\t\t\t<img src="http://".htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').__PS_BASE_URI__."img/p/".$image[0]['id_product']."-".$image[0]['id_image']."-small.jpg" title="".$product['name']."" alt="thumb" /> <![CDATA[".$product['description_short']."]]>\n"; echo "\t\t\t<link><![CDATA[".'http://'.htmlspecialchars($_SERVER['HTTP_HOST'], ENT_COMPAT, 'UTF-8').htmlspecialchars($link->getproductLink($product['id_product'], $product['link_rewrite'], Tools::getValue('id_category'))).$affiliate."]]></link>\n"; echo "\t\t\n"; } ?>
  5. I am working my way thru this, and on step 5 where it says "5. Enter weight pricing fees in the main Shipping page, in the box at bottom, “Fees by carrier, geographical zones and ranges.” Choose the correct carrier, USPS Priority Mail, in the drop-down. After page reloads, scroll down to find the newly populated pricing fields and enter the fees. Save. " I can get the page to display the 8 zones at the bottom of the main shipping page, but I see no way to enter the fees. What am I doing wrong?
  6. I would also be interested in this if someone figures it out!
  7. is this how the customer referral module works? Let's say you configure it for a 10% off discount. Existing cutomer makes a purchase and this entitles then to add "friends" to their referral list. If one of these friends makes a purchase they receive 10% off, AND the referring customer is then entitled to also 10% off. And this occurs with EACH friend from their list, correct? Would the discount be applied only once? (ie, the next purchase only?)
  8. I have set my large product image (thickbox) to 70 x 700 px. Which works fine EXCEPT when the user's browser is smaller, in which case the resulting thickbox image will be scaled down to maintain some margins/padding around popup. I want to FORCE the popup image to be 700px square regardless of the underlying browser window size. I haven't dug through the CSS yet to see whats controlling this, can someone point me in the right direction? THanks!
  9. Thanks for the info - I guess I will hold off on using it until it at least gets to beta!
  10. I want to utilize some of the new features in 1.2 (like user groups).. I have installed it as a second install on my server and haven't run into any issues yet. Anyone know about any problems with it that would prevent one from using it for real?
  11. Thanks jhn, it actually had to do with the formatting of the actual CSV file - I wasn't aware that the CSV format would preserve line breaks, quotes and such. This makes it easy to export my products from gallery2 and import into prestashop... so I am still learning thanks!
  12. I am trying to export from Excel a CSV file to import into prestashop, but some of the text fields have carriage returns. Is there a way to import these into these into prestashop and keep the carriage returns intact, or do I have to replace them with a dash or something>?
  13. I have 3 products that I have set their category to "home" in addition to their specific category, but only 2 of them are showing up! Is there some other toggle that I need to set to force it to display? --- Boy I feel dumb I had the featured module limit set to 2
  14. I want my large product images to be 700x700px. I set "thickbox" size to 700x700. However, when clicking the thumbnail image on the product page, the popup image has been forced from 700x700 to something like 583x583. (If I open the actual image in a new window outside of the popup, it is in fact 700x700.) Is there a way to get around this limitation?
×
×
  • Create New...