Jump to content
Latest News: (loading..)

Psytanium

Members
  • Content count

    414
  • Joined

  • Last visited

  • Days Won

    3

Psytanium last won the day on July 25 2015

Psytanium had the most liked content!

2 Followers

About Psytanium

  • Birthday 12/06/1982

Profile Information

  • Real Name
    Psytanium
  • Gender
    Male

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Psytanium

    Google XML Sitemap SEO

    Fatal error: Cannot redeclare tep_session_is_registered() (previously declared in /home/user/public_html/includes/functions/sessions.php:120) in /home/user/public_html/googlesitemap/index.php on line 61 what could be the problem ? thank
  2. i will try to run it on 2.3.4, what files should I include ? bootstrap.min.css, bootstrap.min.js, and jquery-1.11.1.min.js ? only ? does it work on Bootstrap 4 ? thanks
  3. possible to run it on OSC2.3.4 ? I have bootstrap.min.css and js installed.
  4. Psytanium

    Google XML Sitemap SEO

    Hello, I have 1 problem in 3 xml files in Google, Error: "webmaster tools, Your Sitemap does not contain any URLs. Please validate and resubmit your Sitemap." in files: /sitemapproducts.xml /sitemappages.xml /sitemappages.xml
  5. Psytanium

    [Contribution] Products Specifications

    i tried to understand how the addon work and find a solution. but i can't. if its easy for you, maybe you can post a fix or some ideas... should we modify the database tables ? or just addon files ?
  6. Psytanium

    [Contribution] Products Specifications

    If i replace my addon files with new downloaded files, the problem will get solved ? or is it a bug already exist in the addon ? thanks
  7. Psytanium

    [Contribution] Products Specifications

    I found that when changing the filter value, the table products_specifications is not updated. is it something wrong with my installation or the addon do not update teh products_specifications table when changing the value name ?
  8. Psytanium

    [Contribution] Products Specifications

    Hello, I have a pull down filter with some values, i want to change the value name, when I do, the filter did not recognize the change. I will have to go to each product and change the specs ? How can I change the value name without problems ? e.g. in a specification called Colors, I change the value Blue to Red, now the front end filter do no include the value Red in the drop down menu. but in the back end / categories, the product specification changed from Blue to Red. Thanks
  9. Psytanium

    Thumbnails image resize addon

    Here's my problem... I'm running a website with around 1000 products, every time we modify the layout, specifically the thumbnails size, we have to re-upload 1000 thumbnail with new dimension. In OpenCart, we can upload large images, then choose the thumbnails size from the backend. OpenCart automatically resize the images to the selected size while keeping a backup copy of the original images for later change in thumbs sizes. Any suggestion ? how to solve this problem ? any addons ? thanks :)
  10. Hello, I have 4 shipping modules installed, but not all are available when the user want to checkout, it depend on the weight and country. Most of times, only 1 shipping method is available, so no need to display the checkout shipping page. How can skip this page ? any addon ? Thanks
  11. Psytanium

    Detect if a product is special

    in product_info.php i added $product_id = $product_info[ 'products_id' ]; now the function is working. But this solution require adding $product_id in every page of the website, product_listing.php, shopping_cart, checkout pages, etc... I don't know if there is easier solution, to test specials, without modifying every page.
  12. Psytanium

    Detect if a product is special

    @MrPhil Thank you for your support on almost all topics :) I tried if ( !empty(tep_get_products_special_price( $product_id )) ... I think the variable $product_id is not passed to the function. tep_get_products_special_price( $product_id ) I don't know if there is a ready to use function, to test if a product is special.
  13. Hello, I have modified the calculate_price function in class/currencies.php to add a discount in some countries, it is working fine, but I want to exclude the discount if the product already have already a special price. How can I add "if product is special" to this function ? function calculate_price( $products_price, $products_tax, $quantity = 1) { global $currency, $country, $country_vat_disc; if (!in_array($country, $country_vat_disc)) { $discount = tep_add_tax( $products_price, $products_tax ) * 0.1; } return tep_round( tep_add_tax( $products_price, $products_tax ) - $discount, $this->currencies[ $currency ][ 'decimal_places' ] ) * $quantity; } I tried this function calculate_price( $products_price, $products_tax, $quantity = 1) { global $currency, $country, $country_vat_disc, $product_id; if( tep_get_products_special_price( $product_id ) !== null ) { $ifspecial = true; } if (!in_array($country, $country_vat_disc) && !$ifspecial) { $discount = tep_add_tax( $products_price, $products_tax ) * 0.1; } else { $discount = 0; } return tep_round( tep_add_tax( $products_price, $products_tax ) - $discount, $this->currencies[ $currency ][ 'decimal_places' ] ) * $quantity; } but didn't work. Thank you for any suggestion :)
  14. Psytanium

    Newsletters & Subscribers OSC 2.3

    @Dan Cole this addon :)
  15. Psytanium

    Newsletters & Subscribers OSC 2.3

    too much spams, i receive 50 fake subscriber everyday. any solution ?
×