Show Posts


Topics - natdroid

Pages: [1]
1
Development Help Needed / extend or hook
« on: March 20, 2019, 07:25:51 AM »
How to extend or replace function with my own in /core/engine/controller.php ?


https://github.com/abantecart/abantecart-src/blob/master/public_html/core/engine/controller.php#L392

Any help would be greatly appreciated.

2
General Extensions / extensions fail php 7.3
« on: January 10, 2019, 08:37:45 AM »
hi. i have six extensions stop working with AbanteCart php 7.3

config.xml
Code: [Select]
<item id="go_category">
      <type>multiselectbox</type>
          <variants>
      <data_source>
      <model_rt>catalog/category</model_rt>
      <method>getCategories</method>
      </data_source>
      <fields>
      <field>category_id</field>
      <field>name</field>
      </fields>
      </variants>
      </item>


call the mother abantecart function https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/model/catalog/category.php#L221


but php 7.3 fatal error

Code: [Select]
Too few arguments to function ModelCatalogCategory::getCategories(), 0 passed in /admin/controller/pages/extension/extensions.php on line 433
 and at least 1 expected in <b>/admin/model/catalog/category.php</b> on line <b>221</b>


https://github.com/abantecart/abantecart-src/blob/master/public_html/admin/controller/pages/extension/extensions.php#L433


ASPAP client want to kill me . ****** help how to fix


3
Templates / Can not activate template?
« on: July 19, 2017, 10:13:36 AM »
Can not activate new template?


1. theme installed? YES
2. theme enabled? YES
3. theme set store in design - themlates? YES
4. before, did you work with developr tools clone? YES (magic is here  ;) )


SOLUTIOn:
https://www.fiverr.com/nattoben/fix-cant-enable-template-issue-abantecart  ;D   

4
Extensions and Add-Ons / detect homepage
« on: May 11, 2016, 01:43:28 AM »
Is there any variable or function I can use to check if the page the user is viewing is the front page?

5
New Features Discussion / Keep multiselectbox Selection Order
« on: February 16, 2016, 02:13:22 AM »
I want to be able to track user selected order chosen setting in my new extension. if a user select option2 first then option1, I want to get the result in the order of option2 and option1. But chosen sorts user selected options. Is there a way I can tell chosen to not sorting the result?

6
Extensions and Add-Ons / Abantecart 1.2.5 all extensions problem
« on: November 19, 2015, 12:42:21 PM »
Hello, AbanteCart team. 
Recently we had a customer write in broken extensions with 1.2.5
In what universe product urls from shopping cart differ from standard url?  :(
Why http://localhost/index.php?rt=product/product&product_id=116 reverted to http://localhost/index.php?rt=product/product&key=116:c02e4b65f5afd23e0c568d04b9c85ef5  (SEO 2.0?)
All extensions broken and how to get prod.ids? we're tired of update the code because of 'unnecessary mini changes every month  :'(



7
Extensions and Add-Ons / Listing hooks
« on: November 12, 2015, 02:13:27 AM »
How to hook /storefront/view/default/template/pages/product/product_listing.tpl file?

8
New Features Discussion / hooks
« on: July 29, 2015, 05:59:20 AM »
CorDevelopers, please consider adding more hooks to the default template. We need hooks in product_listing, <head> and other pages
It would be a great addition

9
General Support / Image thumbnails cache BUG
« on: May 26, 2015, 06:44:23 AM »
How to regenerate thumbnails?  delete the entire cache not help me.
Change resource file /htdocs/resources/image/18/6a/f.jpg  and cache clean
thubnail /htdocs/image/thumbnails/18/6a/demo_product30_2_jpg-100015-250x250.jpg is same

I need this feature. Help!

10
General Extensions / Extension controller bug
« on: July 04, 2014, 12:47:19 AM »
in install.php we have 
Code: [Select]
$rm->setType('fonts');
$this->db->query("INSERT INTO ".DB_PREFIX."resource_types (`type_id`, `type_name`, `default_directory`, `default_icon`, `file_types`) VALUES ('10', 'fonts', 'fonts/', 'icon_resource_font.png', '/.+(ttf)$/i');");


in config.xml we have Setting upload font
Code: [Select]
        <item id="text_font">
            <type>resource</type>
            <resource_type>fonts</resource_type>
        </item>

when we try to upload new font image setting show  and offcouse  Filetype not allowed error   >:(

https://www.anonimg.com/img/6318cf615ee29fb1065185354899055f.jpg

HELPPP Final Step to a Great Addon

PS
caching  disabled


UPDATE
Bug Report

file admin/controller/pages/extension/extensions.php line 397
Quote
   array('type' => 'image',

Script HARDCODED  :-X

11
General Support / marketplace
« on: June 03, 2014, 09:44:23 AM »
Hello. I have a 100% working extension but when i’m Adding a New Extension  I have got an error:
Quote
Missing file / storefront / models / show_weight / show_weight. php.
Check your archived package, correct issues and re-upload again

My model file locates in the  / storefront / model / show_weight/ show_weight. php
but if I rename it to models extension doesn’t work at all.  Need your help. How to fix marketplace issue?

12
Development Help Needed / Global language definitions
« on: June 02, 2014, 04:13:51 AM »
Hello. I've got a question. How to call global language definitions from extension?

Pages: [1]

Powered by SMFPacks Social Login Mod