Search found 67 matches

by meules
Mon Oct 25, 2010 9:39 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

@dwrs

I will try to make such addition to this mod.
by meules
Mon Oct 25, 2010 9:17 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

Ok, finally I found a solution for V6. Basically the steps are the same but some of the code was changed and moved to different files. I've added all the necessary steps in this post. STEP 1: In includes\display\ProductDetails.php around line 70 find $this->SetMinMaxQty(); Add after ###### LOGIN FOR...
by meules
Wed Oct 20, 2010 9:07 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

That's exactly what this mod does :D . But I'm still working on the product pages where indeed the buy buttons still appear. I can't figure out why the code doesn't work for v6... but I keep trying, until then you have to be patient ;)
by meules
Tue Oct 12, 2010 3:02 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

I'm still working on this... I'll get back to you asap
by meules
Wed Oct 06, 2010 8:04 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

good to hear!! Good luck... :mrgreen:
by meules
Tue Oct 05, 2010 11:55 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

Do you have some other modifications made to one of the files?? Probably you have a misplaced comma or something like that...
Attached the two files. I tried it again and it worked seamless...
Let me know ;)
by meules
Mon Oct 04, 2010 8:56 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

Stefan, Try this instead: In pricing.php function CalculateProductPrice($product, $doLocaleFormat=true, $doCurrencyConvert=true, $strikeOutRetail=true) { ###### LOGIN FOR PRICE HACK BOF############# $customerClass = GetClass('ISC_CUSTOMER'); if(!$customerClass->GetCustomerId()) { return '<a href=&qu...
by meules
Fri Oct 01, 2010 2:07 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

Isn't that exactly what this script does?? See the very first thread...
by meules
Mon Sep 20, 2010 8:36 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

I've made a little addition to this hack. Add to cart link should be removed from unverified customers, cos with adding a product to cart, you can see the prices of every product. Open: includes/display/HomeFeaturedProducts.php Find: if (isId($row['prodvariationid']) || trim($row['prodconfigfields'...
by meules
Sat Sep 18, 2010 7:27 pm
Forum: [SC] Custom Code
Topic: [HACK] Login for price
Replies: 73
Views: 184490

Re: [HACK] Login for price

@ Mipra In /INCLUDES/DISPLAY/PRODUCTDETAILS.PHP add around line 59, after $this->SetProductVariations(); ###### LOGIN FOR PRICE HACK BOF############# $customerClass = GetClass('ISC_CUSTOMER'); if(!$customerClass->GetCustomerId()) { return; } $groupId = 0; $customerClass = GetClass('ISC_CUSTOMER'); $...