Jump to content
Latest News: (loading..)

Psytanium

Members
  • Content count

    405
  • 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
  1. 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 :)
  2. 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
  3. 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.
  4. 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.
  5. 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 :)
  6. Newsletters & Subscribers OSC 2.3

    @Dan Cole this addon :)
  7. Newsletters & Subscribers OSC 2.3

    too much spams, i receive 50 fake subscriber everyday. any solution ?
  8. Hello, I'm trying to redirect the user to home page after he edit his account, I modified account_edit.php line from <?php echo tep_draw_form('account_edit', tep_href_link(ACCOUNT_EDIT, '', 'SSL'), 'post', 'onsubmit="return check_form(account_edit);"', true) . tep_draw_hidden_field('action', 'process'); ?> To <?php echo tep_draw_form('account_edit', tep_href_link(FILENAME_DEFAULT, '', 'SSL'), 'post', 'onsubmit="return check_form(account_edit);"', true) . tep_draw_hidden_field('action', 'process'); ?> Now the form redirect to home page but no data saved.
  9. Geotargeting

    Hello, is there a plugin to add this option ? maybe a popup where a user can select his country before he proceed. thanks
  10. ULTIMATE Seo Urls 5 - by FWR Media

    the cronjob return the following error : X-Powered-By: PHP/5.6.33Set-Cookie: cookie_test=please_accept_for_session; expires=Mon, 12-Mar-2018 22:00:01 GMT; Max-Age=2592000; path=/Vary: Accept-EncodingContent-type: text/html; charset=UTF-8<br /><b>Fatal error</b>: Call to a member function retrieveDependencies() on array in <b>/home/woodandgasleb/public_html/includes/modules/ultimate_seo_urls5/uri_modules/path_rewrite.php</b> on line <b>84</b><br /> Using this cron: php /home/user/public_html/usu5_sitemaps/index.php Any idea plz ?
  11. ULTIMATE Seo Urls 5 - by FWR Media

    @burt do you suggest another app ? btw I tried you solution, will wait and see if the error will come back later. thanks
  12. ULTIMATE Seo Urls 5 - by FWR Media

    foreach ( $text_array as $key => $text ) {
  13. ULTIMATE Seo Urls 5 - by FWR Media

    Hello, sometimes an error appear in the product listing page for few days then it goes away on its own. I attached a screenshot, can someone suggest the problem ? thanks :)
  14. Terms replacements in search

    Hello, someone know and App to insert keywords replacements ? e.g. if someone search for CPU, the results include products with "Processor" in the title. Currently when users search for CPU, they get zero results.
  15. Plural search not working

    Worked as I wanted. thanks :)
×