
sadi21
Members-
Posts
19 -
Joined
-
Last visited
Everything posted by sadi21
-
I am importing XML data and adding products directly into database with php code. It works fine, i can edit the product successfully. Checkout also working fine. I am also manually adding records to specific_price table. I can view it in Specific Prices section when i edit the product. But ALL OF THE ITEMS does not appear in the Price Drop page (the page is empty) When i add new SPECIFIC PRICE from back office to any product, everything starts working fine. All products are started displaying in Price Drop. I believe i am missing some function call or a table which activates price drop or something similar. Any help is appreciated. PS version 1.6.09
-
Trying to get property of non-object
sadi21 replied to TomMarx's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
same issue here i am running my site on localhost & also uploded on web server. The localhost give this error: [8] Trying to get property of non-object while the web server one is working fine. i did not changed any admin area files. any help please? -
Disable checkout button on cart page
sadi21 posted a topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
i am creating a module to verify customer's mobile phone number via sms code. i want to disable checkout feature until the mobile phone number is verified. How to do that? or any other way do that? I am using version 1.6 -
i am trying to make a new module in prestashop 1.5 and hook it to actionCustomerAccountAdd . but it is not working. here's my code of newstore.php file <?php if (!defined('_PS_VERSION_')) exit; class newstore extends Module { public function __construct() { $this->name = 'newstore'; $this->tab = 'pricing_promotion'; $this->version = '1.0'; $this->author = 'Sadi'; parent::__construct(); $this->displayName = $this->l('Create new store'); $this->description = $this->l('Creates new store for new customer'); $this->confirmUninstall = $this->l('Are you sure you want to delete all loyalty points and customer history?'); } //Module installation-method: public function install() { return (parent::install() AND $this->registerHook('actionCustomerAccountAdd') ); } /* Hook called when a new order is created */ public function hookActionCustomerAccountAdd() { // insert new record $rs = mysql_query('insert into stores(name) values("mystore")'); } } ?> whats wrong in above code? thanks
-
Order details link not working, Order History Page
sadi21 replied to gdinari's topic in Core developers
i also had the same problem. i accidentally included jquery-1.7.2.min.js file twice in header.tpl so if you have included two jQuery files of different versions then this could happen. hope this helps- 8 replies
-
- javascript
- error
-
(and 2 more)
Tagged with:
-
i tried to create new tab but still it did't work. am i missing something in the php file code? can you guide me steps. thank you
-
i have created a php file that lists all newsletter subscribers. i've added this file to one of the admin tabs but it gives error. This php file works fine if executed independently. I believe it has to do something with tokens in admin area? Any help please?
-
Order Total Incorrect with price reduction!!!
sadi21 replied to ukbaz's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
i face same problem. If an item is ON SALE or PRICE LOWERED and customer checkout using currency other than store's default currency then this problem occurs. no solution found till now. -
i have enabled Friendly URL and generated .htaccess file but still it is not working. All images on home page are gone and subpage links not working. i am using siteground.com and a2hosting.com hosting. any suggestions whats is wrong?