PDA

View Full Version : how to change basket default


otiz
07-Jan-2005, 08:53 PM
on my products i have a default of 4 in the quantity selction, how do i change this to 1 as default?

Tahnks

Paul

NormanRouxel
07-Jan-2005, 09:03 PM
Is this a customised catalog?

Have you an URL so we can see?

Could your database be corrupted?

I noticed that the majority of new topics over the last few days are from you. You seem to have an enormous number of concurrent problems.

otiz
07-Jan-2005, 09:11 PM
Hi Norman
Had a nightmare day today, my external drive with a lot of images has packed up so can download but it wont print out the order because it cant find the file ( i guess), just posted another prob with the navigator.
Been at this since 3 this afternoon.

BAD Day

appreciate any help

www.islandentertainmentsonline.com

Thanks

Paul

NormanRouxel
07-Jan-2005, 10:15 PM
Hi Paul,

Re the Quantity being set to 4. I can't see what's happening as your pages are now all marked as Site Down.

If you haven't modified the Product Templates to force a pre-set quantity tag then the other place to look is Design / Options / Text / Phase -1, ID 2173. Check that it is

%s<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

pinbrook
07-Jan-2005, 10:48 PM
I've seen this behaviour before, I can't remember the solution, but the solution will be here in the forum somewhere

otiz
07-Jan-2005, 11:29 PM
Hi Norman
Sorry had to take site offline as i cant print out the orders as i get error message "invalid file name"

any ideas on that one?

Thanks
Paul

NormanRouxel
07-Jan-2005, 11:33 PM
Sorry, no.

Have you checked your system for Spyware, Viruses and Trojans?

If I was you I'd make a Snapshot and get an copy of Site1 and any other images, etc off that system and onto back-up media just in case.

Also go to Housekeeping / Security and copy / paste everything there into a text file and back that up too.

otiz
07-Jan-2005, 11:33 PM
Hi Norman
Do i need to change that 4 to a 1 ?

Paul

otiz
07-Jan-2005, 11:35 PM
I have a spyware programme plus Norton on the system.
I will run both progs again to see if i have anything.

Paul

otiz
07-Jan-2005, 11:38 PM
i am thinking of changing to version 7 anyway, however will my snapshot take all the bad bits with it?

Paul

NormanRouxel
07-Jan-2005, 11:57 PM
I doub't if anyone knows what will happen. If your Database is corrumped then you're in big trouble. If it's the installation of Actinic then you may be better off.

As to changing that "4". No only check if the entire line is as posted above. The 4 is the width of the field. However if something's messed up it may be getting used as the pre-set value.

otiz
08-Jan-2005, 04:36 PM
Hi Norman

Site is back up if you wanna look now?
the code looks like this for the quantity

%s<INPUT TYPE=text NAME="%s" SIZE="4" VALUE="%d">

so its the same as you said

any more places to look?

Thanks
Paul

NormanRouxel
08-Jan-2005, 05:34 PM
Could you post the Product Template you are using.

otiz
08-Jan-2005, 05:41 PM
dont understand sorry?

can you visit the link below and see if the images appear in your browser?

thanks

Paul

NormanRouxel
08-Jan-2005, 05:42 PM
Also (and you won't really want to know this) - your generated pages ( as at 18:35) contain garbage wherever the Product Price is displayed.

E.g.

<Actinic:PRICES PROD_REF="209" RETAIL_PRICE_PROMPT="„”Ñ °?m`%bØ$l¡Ô Xêsm`">

otiz
08-Jan-2005, 06:34 PM
http://www.islandentertainmentsonline.com/acatalog/PADDED_COSTUMES_OVERSIZED.html

otiz
08-Jan-2005, 06:37 PM
Hi Norman
it all looks ok to me?
do you mean the price showing?
can you check to see if images show on the novelty costumes page

www.islandentertainmentsonline.com

thanks

Paul

otiz
08-Jan-2005, 06:39 PM
Hi Norman

Is this on a few thinghs or all?
as i am recieving orders and they semm all ok?

confused now, thought it was sorted (kind of)
which prices show as garbbled?

Thanks

Paul

NormanRouxel
08-Jan-2005, 07:10 PM
You need to show me your Product Template so I can see if your Quantity problem comes from there.

Double-click one of your products and look in General / Product Layout.

If it says "Use Parent" then Use Advanced / Template Manager / Section / Product Line.

If it names a template click the Edit button and send me the one that opens.

otiz
08-Jan-2005, 07:39 PM
<!-- ProductLine HTML begin -->
<!-- Insert HTML for the top of the individual product -->
NETQUOTEVAR:INCLUDE Act_ProductSeparator.html
NETQUOTEVAR:ENDSEPARATOR
NETQUOTEVAR:PRODUCTFORMBEGIN
<tr>
<td rowspan="2" valign="TOP" align="CENTER"> NETQUOTEVAR:TEMPLATEBEGINXML NETQUOTEVAR:PRODUCTIMAGE </td>
<td valign="TOP" align="LEFT" colspan="2">
<a name="NETQUOTEVAR:PRODUCTANCHOR"><span class="actregular"><b>NETQUOTEVAR:PRODUCTNAME</b></span></a>
<span class="actxsmall">NETQUOTEVAR:PRODUCTREF <br>
NETQUOTEVAR:PRODUCTDESCRIPTION&nbsp;NETQUOTEVAR:EXTINFOLINK</span>NETQUOTEVAR:EXTINFOBUTTON
<br>
<span class="actxsmall">NETQUOTEVAR:PRODUCTBEGINLINKNETQUOTEVAR:PRODUCTLINKTEXTNETQUOTEVAR:PRODUCTENDLINK
NETQUOTEVAR:PRICEEXPLANATION </span><br>
<b>NETQUOTEVAR:PRODUCTPRICE</b>
<span class="actxsmall">NETQUOTEVAR:OTHERINFOPROMPT </span>
<span class="actxsmall">NETQUOTEVAR:DATEPROMPT </span>
</td>
</tr>
<tr>
<td align="LEFT" colspan="2"><span class="actxsmall">
NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>
<Actinic:ACTIONS>NETQUOTEVAR:ADDTOCARTBUTTON</Actinic:ACTIONS>
</span>
NETQUOTEVAR:TEMPLATEENDXML
</td>
</tr>
NETQUOTEVAR:PRODUCTFORMEND
NETQUOTEVAR:NEXT
<!-- Insert HTML for the bottom of the individual product -->
<!-- ProductLine HTML end -->

NormanRouxel
08-Jan-2005, 08:07 PM
That's all OK. Your problem must be in a corrupt Actinic program or the Database.

You can make a cludgy fix by replacing (in that Template) the fragment

NETQUOTEVAR:PRODUCTQUANTITY

with

<!--NETQUOTEVAR:PRODUCTQUANTITY-->Quantity:<input type=text size=4 name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1">

pinbrook
08-Jan-2005, 08:14 PM
http://community.actinic.com/showthread.php?t=9158&highlight=quantity+4

otiz
09-Jan-2005, 10:00 AM
do i add your text to the end of this line?

NETQUOTEVAR:CARTERRORXMLNETQUOTEVAR:PRODUCTQUANTITY<br>

after the Y or the <br>

read Jo's link too so may try the restore default first

Thanks

Paul

NormanRouxel
09-Jan-2005, 02:13 PM
No, you do exactly what I said. You REPLACE the fragment (and only that) with the replacement.

So the line becomes.
NETQUOTEVAR:CARTERRORXML<!--NETQUOTEVAR:PRODUCTQUANTITY-->Quantity:<input type=text size=4 name="Q_NETQUOTEVAR:PRODUCTREFERENCE" value="1"><br>

otiz
09-Jan-2005, 08:16 PM
Hi Norman
great the code fixed that little bug, thanks now showing as quantity 1

next is the components are not in the right place, the first one is to close to the quantity, have you a fix for that please?

I told you it was strange how its working, some of the images and some of the section gifs were on my external drive which got knackered and all images starting F:// were on their?, however it seems to be showing them all and at least i can still trade (for now)

i am sending drive off tomorow for some expensive retrevial.

otiz
09-Jan-2005, 08:33 PM
do you think the size needs to be smaller than 4 to stop it throwing out the component?

Paul

NormanRouxel
09-Jan-2005, 08:42 PM
Size is only the visible width of the input field. Leave it at 4 as is.

otiz
09-Jan-2005, 08:43 PM
Hi Norman

i changed the value to 1 and the quantity box is smaller, however it did not fix the componenet problem?

Thanks

Paul

NormanRouxel
09-Jan-2005, 08:45 PM
next is the components are not in the right place, the first one is to close to the quantity, have you a fix for that please?

No. I've done enough. You have a seriously corrupted system and trying to fix it bit-by-bit is a waste of time and may lead to many more problems if a subsequent update breaks it further.

I'd only use it for downloading orders and make no more changes or uploads until you have a correctly working system on a clean machine.

otiz
09-Jan-2005, 08:45 PM
everything after the quantity box feels like it needs to go down a line, do you think?
if so how do i achieve this?

Thanks

Paul

otiz
09-Jan-2005, 08:49 PM
Thanks for your help and time, system is new so do not want to change that.

Maybe i will buy version 7 and import my snapshot, hopefully with no major bugs. From my point of view the only problem visible now is that component problem, i will have to live with any more problems but a cure for that would be much appreciated.

Thanks again

Paul

pinbrook
09-Jan-2005, 09:44 PM
Before investing in V7 I would ensure you can get a clean version running in V6.

If you have a corrupt database upgrading to V7 is not going to cure the problem.

You need to ensure your PC is clean, then install actinic and then import your snapshot. You may need to employ a professional to do this.

Time spend now ensuring the integrity of your data is time well spent and will hopefully forestall errors in the future.

NormanRouxel
09-Jan-2005, 10:41 PM
Paul,

Here's a fact that might encourage you to follow the clean system route.

About 30% of companies that lose all their data after a disaster go bust within 6 months.

Marci
11-Jan-2005, 04:19 PM
If system is "new" then I'd be returning it. Sounds suspiciously like you've either got one of the million or so bust AMD CPUs that got nicked a few months ago that run like a dog and corrupt data at random, or 2x dodgy harddrives (internal AND external) that are writing bad sectors, or cheap RAM (which can also corrupt data), or a PSU that is completely under-rated and can't provide enough power to the system for it to maintain data integrity, or your system is riddled with Spyware or Virii (I take it you do have relevant antivirus software all uptodate and relevant spyware removal software running?)

You have various faults. A lot to do with your own PC. A lot to do with your server and it's uptime, and a lot to do with a lack of HTML knowledge... add all these together and it's a race backwards into a coffin.

If you leave your PC in it's current state, it could have a trojan on it that would allow anyone to take control and could allow anyone to retrieve your database and start pulling off customer info, which REALLY isn't good for business.

Ensure your PC is working 100% perfectly in every way possible, then start diagnosing your Actinic issues, as whilst the PC Actinic is installed on is poorly, so is actinic. All the messing round trying to fix issues in Actinic are pointless if the PC it's running on is corrrupting data when it feels like it.