Jump to content

Fredrik.r

Members
  • Content count

    531
  • Joined

  • Last visited

Everything posted by Fredrik.r

  1. Fredrik.r

    Wishlist 3.0 Support Thread

    Hi, I want to reduce focus on "add to wishlist" compared to "add to cart" and therefor change the wishlist button to a link, which is quite common on major sites. I've tried but didn't succeed (couldn't add an item to wishlist). How can I change below to a link instead? <?php echo tep_image_submit('button_wishlist.png', IMAGE_BUTTON_ADD_TO_WISHLIST, 'name="wishlist" value="wishlist"'); ?>
  2. I get an error message when trying to import a csv-file; Warning: Invalid argument supplied for foreach() in /(path here)/easypopulate.php on line 1310 Line 1310 is the first one below; foreach( $theheaders_array as $header ){ $cleanheader = str_replace( '"', '', $header); // echo "Fileheader was $header<br /><br /><br />"; $filelayout[ $cleanheader ] = $lll++; // } Please give me some advice. I'm using the latest version, 2.76i-MS2 Thanks! Never mind, must have been something with Excel for Mac. When saved as a Windows CSV file (as recommended in the documentation) it worked.
  3. Hi! I've downloaded the latest version EP 2.76i and noticed there is a configuration setting for use of QTPro (attributes stock). I've added some stock values for an item in admin and then exported the file. However, stock values are not exported even though EP_PRODUCTS_ATTRIBUTES_STOCK is set to true. The columns in the CSV file are there, but they are empty. I know someone made a contribution called "EP 2.76 & Qtpro" in 2007. I checked in that easy_populate.php and it's quite different from 2.76i. Is the stock code in 2.76i some kind of incomplete code or just remains of an older EP version? It would of course be great if stock could be updated using EP.
  4. Fredrik.r

    Simply Hide Products (SHP)

    Hi! The code above removed the functionality of hiding products completely, so I removed that code. Is it possible to fix below in some way? 1) When hiding a category it stills show in the categories menu. I guess this is a bug. When clicking on it theres no products inside since they are hidden. Can I hide the category name completely in the categories since it's hidden? 2) I will use this contribution to prepare forthcoming categories and products and being able to browse the shop to see what it actually will look like. Since already existing products may be placed in hidden categories I do not want all products inside a hidden category to be hidden automatically. If number 1 above will work, I will be able to hide the category and just hide the products inside it that are new / that doesn't already exists in other non hidden categories. In this way, customers wont see hidden categories and hidden new products, but they will still see current non hidden products that may also be place in the hidden category.. hm, are you with me? :)
  5. Fredrik.r

    Simply Hide Products (SHP)

    thanks! :) and happy new year!
  6. Fredrik.r

    Simply Hide Products (SHP)

    Since there already is a feature to show categories and products only to specified customers, would it be easy for me to modify the code not to automatically hide products inside hidden categories? that would solve it
  7. Fredrik.r

    Simply Hide Products (SHP)

    the options are link or duplicate. I always link so that the same product are used in several categories. it will not work then. thanks for a very quick answer!
  8. Fredrik.r

    Simply Hide Products (SHP)

    Hi! This seems to be exactly what I'm looking for! Just one question before I install it. The description says "If a category is marked as hidden, all subcategories and products in the category will also be hidden." What happens if a product is copied to several categories, both hidden ones and not hidden ones? I just hope it will still show in a non hidden category even though the same product is also in a hidden category?
  9. Yes, thanks, but it wont help. I need to use "Display discount with discounted tax applied"
  10. First of all, thanks for a discount coupon codes contribution that actually works!! :) Sorry if this has been answered before, there are 130 pages here. Just let me know. I've set "Display subtotal with applied discount" to false since I want the subtotal above the discount, like this; Subtotal Discount Tax Total When doing this everything looks fine except the total sum. The total sum is actually calculated as sub total (products) including tax minus discount excluding tax. The subtracted discount calculation in the total sum should, of course, be including tax. When setting "display subtotal with applied discount" as true, everything looks fine and the total sum is calculated correctly. However, I don't want to apply discount to sub total as I think that may be indistinct for the customer, especially with the sort order above (subtotal - discount = total) If any one knows why or how to fix it, pleas let me know. Thanks!
  11. Fredrik.r

    Product Listing in Columns v2.0

    Please how do I sort products by date added?
  12. Is it possible to hide the SID / osCID from product links using Ultimate SEO URLs? It only shows up one time before session being stored in mysql, but I'm using XML exports and it would be nice if the product links in these does not contain ID's.
  13. Fredrik.r

    [contribution] Simple Template System (sts)

    Hi! Yes, mysql is set to store sessions. That was the interetsting part, "a good way to make links", which I don't really understand. Is it good in coding point of view / the correct way? Because I do not have issues with links vs sessions when not using links this way. This might be off topic, not sure, but I am not getting https only during checkout, even if I have configured SSL in configure.php and ONLY use relative paths in templates. Some boxes, categories.php for example, use http links on secure pages (login, checkout) causing warnings in Explorer and Firefox. Really strange.. Could this be related to STS in some way?
  14. Fredrik.r

    [contribution] Simple Template System (sts)

    Thanks for taking your time to help me, it was just a stupid mistake by me. I forgot php.html, I just namned it infobox_specials.html
  15. Fredrik.r

    [contribution] Simple Template System (sts)

    I think I had problems with 4.5.6 since that version didn't include the service pack 2, which was uploaded earlier. The infobox templates didn't work and the template became a real mees when settings infobox templates 'true' in admin. Therefor I uploaded a 4.5.7 with all recent changes (4.5.4 + 4.5 SP5 + 4.5.6).
  16. Fredrik.r

    [contribution] Simple Template System (sts)

    Seems like it is working fine with relative links in templates and without using "force cookies". Could it be issues in just some browsers the way I am doing it? I have not experienced problems using Safari and Firefox. I think I had problems with cart loosing products a couple of years ago, but not nowadays.
  17. Fredrik.r

    [contribution] Simple Template System (sts)

    :blush: Must have been tired last night. Thank you!
  18. Fredrik.r

    [contribution] Simple Template System (sts)

    Hi Chris! Just wanted to ask,are there really any differences between doing it the "right" way and placing links in the template? I have never experienced any issues with sessions etc when creating hard coded relative links directly in template files.
  19. Fredrik.r

    [contribution] Simple Template System (sts)

    Hi! I'm not sure how to use a template for the specials box. If following the rules it should be infobox_specials.html, right? It doesn't work. I've also tried infobox_special.html, infobox_specialbox.html and so on. All other boxes are fine.
  20. Fredrik.r

    WYSIWYG SPAW EDITOR Support Thread

    I am using Spaw 2 but anchor links doesn't seem to work correct. When using them on a page I am being redirected to the index page instead of the anchor name.. Anyone know of a fix for this?
  21. Fredrik.r

    [contribution] Super Download Store

    Hi! Very grateful for some pretty fast help with this; Link expires: Thursday 01 January, 1970 The shop is going live today. Why it sais 1970? Expire days is set to 7.
  22. Fredrik.r

    [contribution] Simple Template System (sts)

    Hi Chris! Thanks. Do you mean if statements within the templates, like if language_id=4, show the following.. or do you mean completely different templates depending on chosen language? The last one would be optimal but anything will do. If possible, please give me an example. I did not understand the "global $language_id" you were referring to. I searched for "languages_id" within this thread but didn't find what I'm looking for.
  23. Fredrik.r

    [contribution] Simple Template System (sts)

    Hi! What is the easiest way to use different images, tables and code depending on the language? Is it finally possible to use language specific templates using STS? I couldn't find any info obout that in the latest releases manual. I know about the old imagname$langid.gif way but not I need to use not only images but also code and tables depending on language. Would the easiest way be to place that code in the language files and call for it using for example "echo MY_CODE"?
  24. Hi! I'm looking for someone that might help me with making a file for XML export of all products. I have specifications of the XML format and values, it should contain around 9 fields from the shop. Please pm me if you can do the job. Thanks!
  25. Hi! Since the hosting company I'm using updated to MySQL 5 a few days ago there is an error in articles.php; ---------------------------- 1054 - Unknown column 'a.authors_id' in 'on clause' select count(*) as total from articles a, articles_to_topics a2t left join topics_description td on a2t.topics_id = td.topics_id left join authors au on a.authors_id = au.authors_id, articles_description ad where (a.articles_date_available IS NULL or to_days(a.articles_date_available) <= to_days(now())) and a.articles_id = a2t.articles_id and a.articles_status = '1' and a.articles_id = ad.articles_id and ad.language_id = '4' and td.language_id = '4' [TEP STOP] ---------------------------- How can this be solved? Someone told me to add "as total,* from..." but there are several querys in that file and I am not sure which to correct or how to correct them. Very thankful for help with this!
×