My SellerDeck Account | Newsletter | Free Trial

Community and Knowledge Base

  #1  
Old 12-Aug-2015, 08:52 AM
gpzzone's Avatar
gpzzone gpzzone is offline
Registered User
Join Date: Nov 2003
Full Name: Craig Davies
Posts: 74
Thanks: 4
Thanked 1 Time in 1 Post
Discount & surcharge settings

Hi

I have an issue with the Discount and Surcharge setting area on my checkout page(0) in V10.

It has been crudely edited in the past and for some bizarre reason I cannot find the variable that deals with it.

Basically it is the shopping cart discount Info line, and it currently identifies.

<Actinic:Variable Name="InfoLine"/>

as the variable, but I can't find it. A search in the variable library is fruitless

I'm clearly barking up the wrong tree! Can anyone help me locate it please.

Best wishes

CD
__________________
"Live in England, and subject yourself to the punishing taxes of envy, it's hard to be a winner in a society dedicated to the glorification of losers."
Reply With Quote
  #2  
Old 12-Aug-2015, 09:28 AM
peblaco peblaco is offline
Developers
Join Date: Dec 2006
Full Name: Peblaco
Posts: 1,511
Thanks: 61
Thanked 608 Times in 542 Posts
The InfoLine variable is not in the Design Library. What was edited on that variable or layout in the past?.
__________________
Peblaco - SellerDeck partner
Website design and development for SellerDeck and Actinic desktop

SellerDeck services - SellerDeck website design - SellerDeck templates
Reply With Quote
  #3  
Old 12-Aug-2015, 09:37 AM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,730
Thanks: 9
Thanked 722 Times in 608 Posts
<Actinic:Variable Name="InfoLine"/> isn't a simple Variable. It is a placemarker for code that gets automatically populated by the Perl scripts that display the Cart and Checkout. What appears in its place is dependent on what's in the Cart.

If you right-click any layout in the Library, you get an option to compare with the factory version. That may let you see what's wrong.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
  #4  
Old 12-Aug-2015, 10:07 AM
gpzzone's Avatar
gpzzone gpzzone is offline
Registered User
Join Date: Nov 2003
Full Name: Craig Davies
Posts: 74
Thanks: 4
Thanked 1 Time in 1 Post
Hi Louise and Norman - thank you for your assistance.

I've made the comparisons as suggested by Norman - there are no differences and Lousie's suggestion to explore the coding simply produces this.....

<tr>
<td><Actinic:Variable Name="InfoLine"/></td>
</tr>

I have no idea how it has been edited historically, but it's clearly unorthodox.

I will keep you updated - thank you again for your suggestions.
__________________
"Live in England, and subject yourself to the punishing taxes of envy, it's hard to be a winner in a society dedicated to the glorification of losers."
Reply With Quote
  #5  
Old 12-Aug-2015, 10:19 AM
gpzzone's Avatar
gpzzone gpzzone is offline
Registered User
Join Date: Nov 2003
Full Name: Craig Davies
Posts: 74
Thanks: 4
Thanked 1 Time in 1 Post
Hi again Louise

This is a screenshot of the situation!



Thanks again
__________________
"Live in England, and subject yourself to the punishing taxes of envy, it's hard to be a winner in a society dedicated to the glorification of losers."
Reply With Quote
  #6  
Old 12-Aug-2015, 11:04 AM
peblaco peblaco is offline
Developers
Join Date: Dec 2006
Full Name: Peblaco
Posts: 1,511
Thanks: 61
Thanked 608 Times in 542 Posts
That should say something like "5% adjustment will be applied.." but it has "Our minimum order value is 6.00." in the middle. Default text for those messages are in the Design Text menu. You can check if your current value field has the default code or if it was edited.
__________________
Peblaco - SellerDeck partner
Website design and development for SellerDeck and Actinic desktop

SellerDeck services - SellerDeck website design - SellerDeck templates
Reply With Quote
  #7  
Old 12-Aug-2015, 11:41 AM
gpzzone's Avatar
gpzzone gpzzone is offline
Registered User
Join Date: Nov 2003
Full Name: Craig Davies
Posts: 74
Thanks: 4
Thanked 1 Time in 1 Post
Louise

that is really useful - I'm getting warm now I feel.

It seems that the online surcharge text was appearing too. However is it correct that there are 2 x Payment Method Adjustment Message as in the image?



Thanks again - I'll let you know how it goes.
__________________
"Live in England, and subject yourself to the punishing taxes of envy, it's hard to be a winner in a society dedicated to the glorification of losers."
Reply With Quote
  #8  
Old 12-Aug-2015, 12:34 PM
NormanRouxel's Avatar
NormanRouxel NormanRouxel is offline
Registered User
Join Date: Dec 2002
Full Name: Norman Rouxel
Posts: 10,730
Thanks: 9
Thanked 722 Times in 608 Posts
Be careful editing Design / Text messages with %<something> in them. E.g. %s is a place-holder for some text that will be applied. You can edit the text in such messages but need to have the same number of %<something> and keep them in the original order.

Strictly speaking you can omit some of the %<something> starting from the end and working back wards.
__________________
Norman - www.drillpine.biz
Edinburgh, U K / Bitez, Turkey
Reply With Quote
The Following User Says Thank You to NormanRouxel For This Useful Post:
gpzzone (12-Aug-2015)
  #9  
Old 12-Aug-2015, 07:53 PM
gpzzone's Avatar
gpzzone gpzzone is offline
Registered User
Join Date: Nov 2003
Full Name: Craig Davies
Posts: 74
Thanks: 4
Thanked 1 Time in 1 Post
Grateful thanks to you both, the issue is now resolved.

Having been pointed towards the correct pathway, I simply defaulted everything and then rebuilt it to represent things correctly.

Your help has been invaluable and is greatly appreciated - Thank you.
__________________
"Live in England, and subject yourself to the punishing taxes of envy, it's hard to be a winner in a society dedicated to the glorification of losers."
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 09:29 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.