myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


VIRTUAL SHOP MOD PROBLEM!!!!

 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Web page/template Editing
View previous topic :: View next topic  
Author Message
wee2john
Apprentice
Apprentice

Virtual Cash: 1110

Joined: 04 Sep 2007
Posts: 148
Location: Northern Ireland
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 13, 2008 4:18 pm    Post subject: VIRTUAL SHOP MOD PROBLEM!!!! Reply with quote

I did the virtual shop mod and it worked but in the HOWTODOIT there is a sort of guide on how to show your inventory. I did that and checked the link:


http://cooklikeapro.myfreeforum.org/inventory.html


The only problem is the items appear even if you haven't bought them yet.

The code in my inventory.html is:

Code:
{MYFF.SHOP mode="inventory"}



Could someone tell me why this isn't working and how to fix it.


Any more details just ask.


_________________
Click Here--> Cook Like a Pro in a Day!!!

Cook Like a Pro
Back to top
View user's profile Private message
Symon
Moderator
Moderator

Virtual Cash: 27800

Joined: 04 Sep 2005
Posts: 11066
Location: Hampshire,England
Add Karma

rated by 84 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 13, 2008 4:39 pm    Post subject: Reply with quote

Stop typing your titles in caps .
_________________


http://www.saynoto0870.com/

XXVIII/ I/ MCMLXXI
Back to top
View user's profile Private message Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jun 13, 2008 5:03 pm    Post subject: Reply with quote

double check the source code in the source view some times the quotes in "inventory" get messed up.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
wee2john
Apprentice
Apprentice

Virtual Cash: 1110

Joined: 04 Sep 2007
Posts: 148
Location: Northern Ireland
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 8:41 am    Post subject: Reply with quote

what am I meantto be looking or if they are messed up and gow do i fix it??
_________________
Click Here--> Cook Like a Pro in a Day!!!

Cook Like a Pro
Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 9:32 am    Post subject: Reply with quote

If there is a problem you will see something like """ in the source view.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
wee2john
Apprentice
Apprentice

Virtual Cash: 1110

Joined: 04 Sep 2007
Posts: 148
Location: Northern Ireland
Add Karma

rated by 2 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 12:42 pm    Post subject: Reply with quote

no don't see that. I see a section in the page source for the whole shop thing:

Spoiler:

Code:
<script type="text/javascript">

//Options for Everyone:
MonetarySymbol        = '&pound;';
DisplayNotice         = 1;;
DisplayShippingColumn = 0;
DisplayShippingRow    = 0;
DisplayTaxRow         = true;
TaxRate               = 0.175;
TaxByRegion           = false;
TaxPrompt             = 'For tax purposes, please select if you are an Arizona resident before continuing';
TaxablePrompt         = 'Arizona Residents';
NonTaxablePrompt      = 'Other States';
MinimumOrder          = 1;
MinimumOrderPrompt    = 'Your order is below our minimum order, please order more before checking out.';

//Payment Processor Options:
PaymentProcessor      = 'virtual';

//Options for Programmers:
OutputItemId          = 'ID_';
OutputItemQuantity    = 'QUANTITY_';
OutputItemPrice       = 'PRICE_';
OutputItemName        = 'NAME_';
OutputItemShipping    = 'SHIPPING_';
OutputItemAddtlInfo   = 'ADDTLINFO_';
OutputOrderSubtotal   = 'SUBTOTAL';
OutputOrderShipping   = 'SHIPPING';
OutputOrderTax        = 'TAX';
OutputOrderTotal      = 'TOTAL';
AppendItemNumToOutput = true;
HiddenFieldsToCheckout = false;

function move()
{
window.location = "inventory.html?component=shop";
}

function confirmClearBasket()
{
   if (confirm("Are you sure you want to empty your shopping basket?"))
   {
      SetCookie ('NumberOrdered', 0, null, '/');
      setTimeout('move()',1);
         
   }
}

</script>

<script type="text/javascript" src="/cart/nopcart.js" ></script>

<table width="100%" cellpadding="4" cellspacing="1" border="0" class="forumline" align="center">
<!--BEGIN switch_shop_title -->
   <tr>
        <th colspan="1" width="100%" height="25" class="thTop" nowrap="nowrap"> Cooking Shop</th>
     </tr>
<!--END switch_shop_title -->     


<!-- inventory -->
<tr><td>
<table>

<tr><th>Name</th><th>image</th><th>description<th><th>Price</th>
<th>Buy back price</th>
<tr>
<!-- We loop through the rows and columns, but actually use a new row always --><tr>
<td >
Kitchen Knives</td>
<td><img src="http://cooklikeapro.myfreeforum.org/templates/myff_cooklikeapro1/images/G2951138_M30promomagneticsetwithoutbox.jpg"   width="100"  height="100"  alt="Kitchen Knives" /></td>
<td>
Global kitchen knives</td>
<td>

You own 1 of this item
</td>
<td>
&pound;4,700.00
</td>
<td>
&pound;3000</td>
</tr>
 <tr>
<td >
Pots and Pans</td>
<td><img src="http://cooklikeapro.myfreeforum.org/templates/myff_cooklikeapro1/images/calphaloncookwaresetvd4.jpg"   width="100"  height="100"  alt="Pots and Pans" /></td>
<td>
Cast Iron Pots and Pans.</td>

<td>
&nbsp;
</td>
<td>
&pound;3,525.00
</td>
<td>
&pound;2250</td>
</tr>
 </td>
</tr>
</table>
</td></tr>

<tr><td>

</td></tr>
</table>
</div>


_________________
Click Here--> Cook Like a Pro in a Day!!!

Cook Like a Pro
Back to top
View user's profile Private message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 43000

Joined: 22 May 2005
Posts: 19357

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jun 15, 2008 1:48 pm    Post subject: Reply with quote

The inventory page is in fact showing the inventory part of the template.

My guess is that you have not create xprofile fields for each item. Without which what is owned is not tracked.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Web page/template Editing All times are GMT + 1 Hour
Page 1 of 1
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum