Pages:

Stock Control Plugin for v2.0

Cryptix

Avatar: Cryptix

2007-02-03 20:16

Stock Plugin created by Fastilo - I just simply made it easier for you to have it on your own Quick.Cart

Please note: This is for QC v2.0. This plugin is in no way related to OpenSolution - so if you are experience problems with it ask myself or the community - don't email them to answer any questions regarding this plugin or expect them to answer any questions regarding this plugin in these here forums! - Thank you!

http://www.revolutionclothing.net/StockPlugin_v2.0.zip

» Quick.Cart v2.x

soundman

No avatar

2007-02-03 21:11

Hi

I tried this plugin but it also has the bug with the sign - in front of the quantity.

It changes from example 4 to -3 when customer buying 1

Any ideas?

soundman

Cryptix

Avatar: Cryptix

2007-02-03 22:55

Try CHMOD 777, I also had this problem - but when i CHMOD'd some of the files it worked fine.

soundman

No avatar

2007-02-03 23:07

Hi Cryptix

I tried to chmod 777 al the files but i still have that problem

Do you know wich files that fix your problem?

soundman

Cryptix

Avatar: Cryptix

2007-02-03 23:17

Hi soundman,

the +/- are worked out in this file:
"..\plugins\stock\stock.php"

I'm not quite sure why the plugin's not working after CHMOD. I'll keep an eye out though.

soundman

No avatar

2007-02-04 09:39

I tried to chmod this fil and tried to see the code but i dont find anything wrong.

Still i have the problem

Thanks for the following up this isssue

soundman

idaryl

Avatar: idaryl

2007-02-05 17:20

Is there any updates to this?

Cryptix

Avatar: Cryptix

2007-02-05 23:50

Still working on it idaryl, just haven't had much chance with being quite busy. i'll get the plugin sorted though in the next few days. also it still works but it'll have the -3 for example and will only go out of stock when it goes to 0. It does it's function but the minus sign just has to be removed from the code which i'm finding hard to find the right part of the code for this. If anyone has any info to help that would be great!

idaryl

Avatar: idaryl

2007-02-12 19:27

Any progress on this?

pauld

No avatar

2007-03-01 00:07

Im also having a problem with this plugin...when stock is a minus number...checkout cannot be completed if th eitem with a minus number is purchased....cart just keep looping..anyone solved this..........................

paul d

slosdqwlehn

No avatar

2007-03-15 14:30

Its funny when I replace - with + in stock.php, its working properly but only in wrong way. Adding more products, not removing them. Anyone been working on this plugin lately?

machupichu

No avatar

2007-03-30 20:26

Can this plugin be used for ver 1.4 ..it is hard to modify this plugin to work with version 1.4 or 1.3 ?

michal.siman

No avatar

2007-03-31 05:50

I tried this plugin with my QC2.0 and for me it is very good, i have only one each by every item and if i put "1" to stock and somebody buy 1 each, stock go to "0" and setup invisible status. Works perfect! It is just a information.

chaudhary

No avatar

2007-03-31 16:38

SOME BODY CAN TRANSLATE IT IN ENGLISH ????

Dodac do pliku core/categories.php
$aList['sLinkName'] = changeLinkName( $aList['sName'] );
do funkcji throwListContent, throwTreeForProduct


Dodac do pliku core/products.php
$aList['sLinkName'] = changeLinkName( $aList['sName'] );
do funkcji throwProductsData


Dodac do pliku core/orders.php
$aList['sLinkName'] = changeLinkName( $aList['sProduct'] );
do funkcji listBasket

Do katalogu plugins/rewrite skopiowac plik rewrite.php


W pliku plugins/plugins.php dopisac:
require DIR_PLUGINS.'rewrite/rewrite.php';


Skopiowac do glownego katalogu plik .htaccess


Zamienic linku w kategoriach z
?p=p_$aList[iCategory]&sName=$aList[sNameUrl]
na:
$aList[iCategory],0,$aList[sLinkName].html


Zamienic linku w produktach z
?p=productsMore&iProduct=$aList[iProduct]&sName=$aList[sNameUrl]
na:
0,$aList[iProduct],$aList[sLinkName].html

$aListTree[iChild],0,$aListTree[sLinkName].html

$aListTree[iParent],0,$aListTree[sLinkName].html


Do formularz i odwolan wzglednych dodac $config[index]


Do pliki config/general.php dopisac:
$config['index'] = 'index.html';
define( 'INDEX', $config['index'] );

michal.siman

No avatar

2007-03-31 17:13

But this is manual for a rewrite plugin, not for stock control :-(

Translate:
------------

Add to files core/categories.php
$aList['sLinkName'] = changeLinkName( $aList['sName'] );
to the function throwListContent, throwTreeForProduct

Add to files core/products.php
$aList['sLinkName'] = changeLinkName( $aList['sName'] );
to the function throwProductsData


Add to files core/orders.php
$aList['sLinkName'] = changeLinkName( $aList['sProduct'] );
to the function listBasket

Copy rewrite.php to the folder plugins/rewrite

Add to files plugins/plugins.php:
require DIR_PLUGINS.'rewrite/rewrite.php';


To the root directory copy file .htaccess


Change line in kategories from:
?p=p_$aList[iCategory]&sName=$aList[sNameUrl]
to:
$aList[iCategory],0,$aList[sLinkName].html


Change line inproducts from:
?p=productsMore&iProduct=$aList[iProduct]&sName=$aList[sNameUrl]
to:
0,$aList[iProduct],$aList[sLinkName].html

$aListTree[iChild],0,$aListTree[sLinkName].html

$aListTree[iParent],0,$aListTree[sLinkName].html


To the form and templates add $config[index]


To the files config/general.php add:
$config['index'] = 'index.html';
define( 'INDEX', $config['index'] );

chaudhary

No avatar

2007-04-01 10:23

wot is the purpose of this rewrite plugin,

michal.siman

No avatar

2007-04-01 11:00

to chaudhary: this is solution for "like" SEO URL ;-), see: http://www.fastilo.com/demo/2,0,contact.html

michal.siman

No avatar

2007-04-01 12:04

for all: Stock Plugin from this topic (on the top: http://www.revolutionclothing.net/StockPlugin_v2.0.zip) isnt just a STOCK CONTROL plugin, it is plugin stock,plugin rewrite, plugin sendOrderToClient and solution for FCKEditor - but the FCKEditor isnt complete!

machupichu

No avatar

2007-04-27 07:53

how can i use this plugin in version 1.4 of Quick.Cart?

_Nick

No avatar

2007-04-27 16:30

machupichu try this one:
http://opensolution.org/Quick.Cart/forum/?p=readTopic&nr=3876

Pages:
Back to top
about us | contact