first1
Community Moderators-
Content Count
454 -
Joined
-
Last visited
Everything posted by first1
-
try on a test server first and do a back up. you need to implement a function and call it everytime you check for access: 1)create another field in the mysql database, table ps_category_group: I called it gr_cat_red it is a decimal(10,2) this field would tell the system, the group category reduction (gr_cat_red) of each group and each category. in this field you will need to put the reduction discount i.e. 55.7% for cat 11, group 3 2) in classes/Category.php add this fuction: public function checkCategoryRed($id_customer,$id_category_default,$id_group) { if (!$id_customer) { $result = Db::getInstance()->getRow(' SELECT ctg.gr_cat_red AS reduction FROM '._DB_PREFIX_.'category_group ctg WHERE ctg.id_category = '.$id_category_default.' AND ctg.id_group = 1') ; } else { $result = Db::getInstance()->getRow(' SELECT ctg.`gr_cat_red` AS reduction FROM '._DB_PREFIX_.'category_group ctg INNER JOIN '._DB_PREFIX_.'customer_group cg on cg.`id_customer` = '.$id_customer.' AND ctg.`id_group` = '.$id_group.' WHERE ctg.`id_category` = '.$id_category_default ); } return $result['reduction']; } call this fuction anytime you want to check for access.
-
your welcome.
-
Client Groups Discounts
first1 replied to Carlos Suarez 's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
interesting idea, dont have a quick question to this, i am sure after some work it can be done. -
Nice work, and good communication! thank you all. Just a little note, since you have started the good work, would anyone be able to get the add and remove stock to keep records (i.e. when you have new stock comes in to your warehouse, someone would need to update the quantities of the product, but you want that tracked with added quantity, date-time, employee.. that would make it a good inventory tab/
-
Marking invoices as PAID
first1 replied to wguser 's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
Yes, the invoice means (outstanding to be paid) until it is stamped (flagged as invoice paid)... thanks for the solution wguser The only problem is when you have a huge list of products, the "Paid-thank you" moves to page 2 (sometimes you see a full page 1 invoice without paid, then the paid-thank you is on its own on the second page. any idea on how to make it as backgroud stamp. -
nice!
-
Page Numbers for Products Listed in Manufacturers
first1 replied to applestarz 's topic in Configuring and using PrestaShop
True, I had a look at your shop, they dont show for manufacturers, however you are not using the default theme! on mine, it shows it for manufacturers. -
Question - Another way to add multiple items?
first1 replied to chriskernaghan 's topic in Ecommerce x PrestaShop [ARCHIVE BOARD]
You mean features rather than attributes? -
JAVA, I believe that you have changed that default structure of your database as you described earlier... the question is, did you notice any improvements in ranking? are you getting better positions just because you changed it? I agree with Ion that there are many important factors, but SEO is about taking everything into account, the small and the big! so if it is something that helps, then you should do it,even if it just helps a little. But i need more feedback about this first.
-
[Solved] Help setting a background image
first1 replied to gussy 's topic in Addons, modules and themes developers
please close this thread is resolved as described in the signature below -
Please use this thread for UK taxes information
-
id_product id_lang description description_short link_rewrite meta_description meta_keywords meta_title name available_now available_later all these fields are filled with information when i fill them from the back office. why are you saying they product_land is still empty? maybe there is something wrong in your case as in mine whenever i make a change in the back office to one of these fields, i can see the change from the phpmyadmin which is how it is supposed to be
-
it cannot be software problem since all the new installations that we do are working and sending emails. so it is got to be somethings specific to that hosting... it is very easy to through the ball over lol they always do
-
yes i know what SEO is, i am sure a couple of other people have heard of it. ok, here what i will tell you... that module is for the lazy people that dont want to enter any information to the meta tags when they create the product. I do usually import using a spreadsheet, and i insert the same fields manually! but if you want, you can do that by purchasing a the module from prestastore or insert the data to the meta tags yourself... the result is the same!
-
Whole sale shop with no add to cart or prices until login ! The Easy Way
first1 replied to geno 's topic in Free Modules & Themes
-I would recommend 1.2.4 for sure as many bugs were resolved there and new features. -however if you insist in using older version you can see all the previous releases here http://sourceforge.net/projects/prestashop/files/ -I am not sure what changes you are asking for, but if you mean release notes you can find them in the change.txt in the zip of the 1.2 version -To report prestashop bugs please user the bug tracker (you can see a link to it from the top menu of this page or: http://www.prestashop.com/bug_tracker/ -
[Solved] Auto-deleting settings.inc.php file
first1 replied to nocny_stroz 's topic in Configuring and using PrestaShop
good to know, we learn to follow the installation instructions then to the last word, as it clearly asks us to delete it and not to rename the install folder -
Problem with changing to new theme
first1 replied to stereo_id 's topic in Addons, modules and themes developers
do you have the right permissions ? -
[Résolu] Nom des articles tronqués si trop long
first1 replied to Ratatosk 's topic in Discussion générale
Moved Topic to the French forum *was in the English section* -
how to add cart/basket to non prestashop page?
first1 replied to chineseboy 's topic in Free Modules & Themes
what about iframe?
