PDA

View Full Version : Price Text when logged in


jmedinger
28-Feb-2003, 12:23 PM
I'm having a confusing (but probably simple to fix) problem

I have a site on

http://test.bbclothing.co.uk/acatalog/catalogbody.html

on which the products view fine and the price text is shown

However when logged in the price text vansishes together with the price

(To see an example, go to http://test.bbclothing.co.uk/acatalog/ and use 'sharpt' and '251200' as user and pass)

Can anyone suggest why this may be happening and more to the point how to fix it!

BTW - I've checked that the Customer Account does NOT have 'hide retail prices' ticked

Regards

Jos

cdicken
03-Mar-2003, 11:11 AM
It could be do to a change in your Act_ProductPrice.html template.

Try backing up your current Act_ProductPrice.html template, and then copying in an untouched one from your 'formats\themes\Business' folder.

Hopefully this will help. If it doesn't then perhaps you can email a snapshot of your site (File | Export Snapshot) to communityadmin@actinic.co.uk and I will take a quick look.

jmedinger
03-Mar-2003, 11:52 AM
Hi Chris,

Thanks for this... I've checked the 2 Act_ProductPrice.html templates and they are identical apart from a removed <br> tag.

I'll send you the snapshot and you can tell me what you think!

Cheers

Jos

cdicken
03-Mar-2003, 01:41 PM
Hmm - seems to be a weird little bug in v5.

When your pricing model of a product is set to 'Sum of Component Prices' then the price does not appear when you are logged in. If you change it to 'Product Price' or 'Sum of Product and Component Prices' then it works fine.

Hmmm. Weird. Anyway - at least it is easy to fix.

jmedinger
03-Mar-2003, 01:47 PM
Chris,

Thanks for identifying this however...

Hmmm. Weird. Anyway - at least it is easy to fix.

The pricing model I use REQUIRES that I use 'Sum of Component Prices'

I'm assuming that your easy fix is to change the pricing model... however this won't work for me as it's only the components that I need to add up for the price billed.

Would a patch upgrade to V5.1.6 make any difference (the site currently uses V5.1.4)

If not, can you recommend a workaround?

Cheers

Jos

cdicken
04-Mar-2003, 08:30 AM
I'm afraid you still get this bug in 5.1.6. An upgrade to v6 would fix it, but I understand if that is not a possibility.

Can I ask why you have your Pricing Model set to 'Sum of Component Prices'? Forgive me if I am wrong, but surely each size of the software will be the same price?

jmedinger
04-Mar-2003, 02:39 PM
Chris,

The reason why the pricing model is set to Sum of Components is because people often put 2 (or more) sizes into their baskets in case one size is wrong (they then return the other)

This means that the pricing model has to work off the components rather than the product price so that the correct amount is billed (if they've selected a couple of sizes we don't want them only billed for one)

Can you see any way around this without immediately having to change up to V6?

Jos

jmedinger
11-Mar-2003, 02:08 PM
Chris,

I've just upgraded the site to V6 and guess what...

...The problem still exists

The site is on the same URL as in the previous message only the login page is now on

http://test.bbclothing.co.uk/acatalog/login.html

I've got a serious problem here now as the customer has expressly requested that the customer account feature is activated however if the user can't see a product price, what are they to do?

I would appreciate your help!!!

Cheers

Jos

cdicken
12-Mar-2003, 09:12 AM
I can confirm this is still a problem in v6. The price is not shown if:

a) The customer account is using a price schedule other than retail
b) The customer account has 'Hide Retail Prices' ticked
c) The product has the pricing model set to 'Sum of Component Prices'

I will arrange to get this fixed in the next release. For now, we need to think of a workaround.

The one that immediately springs to mind is using the 'Customer Message' field (which you are using already for the 'you are saving 12%' messages) to include the correct price for your Trade customers.

jmedinger
12-Mar-2003, 10:20 AM
Chris,

I note from another of your recent posts that the 6.1 Beta Release is now out...

Can this fix be included in the full release of V6.1?

It would make sense if it could...

Jos

golsupport
12-Mar-2003, 10:35 AM
We were just about to enable individual customers accounts so this is quite a problem for us as well... any chance of an upgrade for version 5 as well?? :)

cdicken
12-Mar-2003, 10:55 AM
Bear in mind it only happens if your pricing model is set to 'Sum of Component Prices', which is relatively unusual. v5 has been around for eighteen months and this is the first time it has been noticed.

It will be fixed in the next maintenance release of v6, but there will very likely be no more updates to v5 so you will need to upgrade to v6 if this does become an issue for you.

jmedinger
12-Mar-2003, 11:43 AM
Chris,

Thanks for this... can you give us an estimate as to the release date for the next maintenance release for V6 then?

I'll need this so that I can fend off my customers with a 'proposed fix date'!

Cheers

Jos

golsupport
12-Mar-2003, 12:26 PM
Ouch... ouch... (not wishing to be overly dramatic)

Yes - any idea of a date? We *need* the feature - would have preferred it in version 5.x (ideally) but if not can you hurry it along for version 6.x.

Will try to pacify the affected site owners! :(

Will beta test if required!?

cdicken
13-Mar-2003, 09:17 AM
I cannot give a date for the next maintenance release at the moment.

I have asked the technical team for a script patch to change this behaviour online. This will be available in a few days. Hopefully the same script patch will work equally well in v5 as v6.

golsupport
13-Mar-2003, 09:33 AM
Sounds good... :)

Appreciated - as I said if you need a 'beta' tester?!

cdicken
13-Mar-2003, 11:03 AM
Thanks.

The beta software can be downloaded from

http://www.actinicdownloads.com/beta/

jmedinger
13-Mar-2003, 11:08 AM
Chris,

Will you make the script patch available on the main Actinic site or will you mail it to us independently?

Regards

Jos

cdicken
14-Mar-2003, 09:26 AM
Here is a script patch that works with 6.1.0 of the software. I have worked with the team to try to get it to work with v5 and v6.0.2 but have thus far failed. v6.1.0 is currently on beta test and available from http://www.actinicdownloads.com/beta/.

Within ActinicPXML.pm, locate the lines:

else # user's price schedule included
{
@Response = ActinicOrder::FormatSchedulePrices($pProduct,
$nAccountSchedule, \$VariantList,
$ACTINIC::B2B->GetXML('RETAIL_PRICE_TEXT'));
$$sInsideText = $Response[2];
}

and change them to:

else # user's price schedule included
{
@Response = ActinicOrder::FormatSchedulePrices($pProduct,
$nAccountSchedule, \$VariantList,
$ACTINIC::B2B->GetXML('RETAIL_PRICE_TEXT'), $::FALSE, $::TRUE);
$$sInsideText = $Response[2];
}

Note that these lines should appear indented, but this forum does not like tabs.

Actinic is not able to provide any detailed support for script changes made. If you find that there is a problem, an original copy of the script can be found within the 'Original' folder in your installation. Copy this into your site folder.

jmedinger
14-Mar-2003, 09:36 AM
Thanks for this Chris,

One more technical question.

I'm running Developer and I have a number of sites on there which I've developed for clients and others which are still in development.

If I upgrade to V6.1.0 beta, will I need to get them to do the same? (in order to be able to send them a snapshot)

I'm assuming that I will...

Jos

cdicken
14-Mar-2003, 09:37 AM
Stop the press - I've just got 6.0.2 working. Full solution attached.

I'm just going to try and tweak this for v5.

cdicken
14-Mar-2003, 10:00 AM
I have tried to get this working on v5, but have drawn a blank. Sorry about that.

Jos, with regards to your question about 6.1.0 and upgrading, the rule of thumb is that the machine you are taking a snapshot to need to be the same version or higher than then one you have built the site on.

jmedinger
14-Mar-2003, 10:01 AM
Chris,

I've just made the changes that you have recommended for V6....

.... and whoopee, it works!

Thanks very much for you hard work on this one... I appreciate the effort you've gone to (and more to the point, I appreciate not having to wait for an entire maintenance release to be launched for the fix to be made)

Once again, many thanks... if you can get the V5 fix sorted then it would solve a lot of problems in the short term for us too as there would then be no immediate rush to upgrade - we could do it at our leisure.

Best Regards

Jos