- osCommerce Support Forum
- → Viewing Profile: mafiouso
Latest News: (loading..)
Community Stats
- Group Community Member
- Active Posts 140 (0.05 per day)
- Most Active In General Add-Ons Support (53 posts)
- Profile Views 5,284
- Age Age Unknown
- Birthday Birthday Unknown
-
Real Name
mafiouso
-
Gender
Not Telling
Contact Information
0
Neutral
Latest Visitors
Posts I've Made
In Topic: Does anyone know how to setup Easy Call for Price 2.3.1
14 May 2012, 14:28
and also need to mod to add ASK A QUESTION. to be a complete fix
In Topic: Does anyone know how to setup Easy Call for Price 2.3.1
14 May 2012, 14:10
what id did to get it to work is use this:
on a new install 2.3
currencies.php
below is a paste of the code at the end of the file i changed to get it to work.
compare to what you have and what the install says. the rest of the install seems ok.
------
function get_decimal_places($code) {
return $this->currencies[$code]['decimal_places'];
}
function display_price($products_price, $products_tax, $quantity = 1) {
// BOF: MOD - EASY CALL FOR PRICE 2.3.1v1.0
// return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
define ('CALL_FOR_PRICE_VALUE', 0);
// If you sell products for $0.00 and want to display "Call for Price!" for other products, set their price and the CALL_FOR_PRICE_VALUE to -1.
if ($products_price > CALL_FOR_PRICE_VALUE){
return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
} else {
define ('TEXT_CALL_FOR_PRICE', 'TEXT_CALL_FOR_PRICE');
// You can set CALL_FOR_PRICE_TEXT to anything you want. Its style is determined by the page it is displayed on. Changes made here will be visible throughout your site.
return TEXT_CALL_FOR_PRICE;
// BOF: MOD - EASY CALL FOR PRICE 2.3.1v1.0
}
}
}
?>
on a new install 2.3
currencies.php
below is a paste of the code at the end of the file i changed to get it to work.
compare to what you have and what the install says. the rest of the install seems ok.
------
function get_decimal_places($code) {
return $this->currencies[$code]['decimal_places'];
}
function display_price($products_price, $products_tax, $quantity = 1) {
// BOF: MOD - EASY CALL FOR PRICE 2.3.1v1.0
// return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
define ('CALL_FOR_PRICE_VALUE', 0);
// If you sell products for $0.00 and want to display "Call for Price!" for other products, set their price and the CALL_FOR_PRICE_VALUE to -1.
if ($products_price > CALL_FOR_PRICE_VALUE){
return $this->format($this->calculate_price($products_price, $products_tax, $quantity));
} else {
define ('TEXT_CALL_FOR_PRICE', 'TEXT_CALL_FOR_PRICE');
// You can set CALL_FOR_PRICE_TEXT to anything you want. Its style is determined by the page it is displayed on. Changes made here will be visible throughout your site.
return TEXT_CALL_FOR_PRICE;
// BOF: MOD - EASY CALL FOR PRICE 2.3.1v1.0
}
}
}
?>
In Topic: sql oscommerce locked / sleep database queries
08 May 2012, 14:56
hi dunweb,
im not sure what the problem is, can you tell me why the Query are locked and sleeping?
is this normal or a issue.
as far as other hosting they all say they are good but how do i know whats good for this issue?
thanks
im not sure what the problem is, can you tell me why the Query are locked and sleeping?
is this normal or a issue.
as far as other hosting they all say they are good but how do i know whats good for this issue?
thanks
DunWeb, on 08 May 2012, 12:36, said:
@mafiouso
I suggest changing to a better hosting provider.as osCommerce processes database queries with almost every page load.
Chris
I suggest changing to a better hosting provider.as osCommerce processes database queries with almost every page load.
Chris
In Topic: Oscommerce Security - Osc_Sec.php
04 April 2012, 13:02
Warning: require_once(/home/USER/public_html/shopping/ext/modules/payment/paypal_ipn/includes/osc_sec.php) [function.require-once]: failed to open stream: No such file or directory in /home/USER/public_html/shopping/includes/application_top.php on line 43
Fatal error: require_once() [function.require]: Failed opening required '/home/USER/public_html/shopping/ext/modules/payment/paypal_ipn/includes/osc_sec.php' (include_path='.:/usr/lib/php') in /home/USER/public_html/shopping/includes/application_top.php on line 43
line 43 is
require_once( DIR_FS_CATALOG . 'includes/osc_sec.php' );
if i leave this on paypal ipn wont work?
can advice would be great.
thank you
Fatal error: require_once() [function.require]: Failed opening required '/home/USER/public_html/shopping/ext/modules/payment/paypal_ipn/includes/osc_sec.php' (include_path='.:/usr/lib/php') in /home/USER/public_html/shopping/includes/application_top.php on line 43
line 43 is
require_once( DIR_FS_CATALOG . 'includes/osc_sec.php' );
if i leave this on paypal ipn wont work?
can advice would be great.
thank you
In Topic: Oscommerce Security - Osc_Sec.php
30 March 2012, 04:08
hello, i installed osC_Sec_5.0.2 seem everything was working ok,
i have one problem with paypal IPN (PayPal IPN v2.3.4.6)
the orders go through, the payment to, but does not return the status or paypal details to OSC.
please let me know if you can help. thanks.
i have one problem with paypal IPN (PayPal IPN v2.3.4.6)
the orders go through, the payment to, but does not return the status or paypal details to OSC.
please let me know if you can help. thanks.
- osCommerce Support Forum
- → Viewing Profile: mafiouso
- Forum Rules






Find content
