Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

Problem with Product Attributes


3 replies to this topic

#1 scottronic

  • Community Member
  • 3 posts
  • Real Name:Jennifer Johnstone

Posted 06 September 2010, 00:59

Hi guys
I'm having a problem with the Product Attributes function.
Any attribute I create and apply displays a line of code in the Available Options dropdown box on the product_info page.

This is a link to an example on my site:
http://kerikeri.com/scottronic/product_info.php?products_id=61

[img]http://www.kerikeri.com/scottronic/images/capture.jpg[/img]


So instead of the options showing as just 4Gb, for example, it is showing a whole line of <a href.......

Available Options:
Memory: upgrade to 4Gb (<a href="http://kerikeri.com/scottronic/account.php" target="_self"><font color="#85bf00">Log in to see pricing</font></a>)no upgrade

Warranty: no upgradeupgrade to 3 years (<a href="http://kerikeri.com/scottronic/account.php" target="_self"><font color="#85bf00">Log in to see pricing</font></a>)



Any help would be much appreciated :-)

#2 scottronic

  • Community Member
  • 3 posts
  • Real Name:Jennifer Johnstone

Posted 06 September 2010, 04:43

[quote name='scottronic' date='06 September 2010 - 12:59 PM' timestamp='1283734766' post='1531116']
PS - I should have mentioned that the above code error only displays when you are not logged in, so while pricing is hidden.
When logged in the options display as they should.



thanks :-)

#3 DunWeb

  • Community Sponsor
  • 9,463 posts
  • Real Name:Chris Dunn
  • Gender:Male
  • Location:Tecumseh, Ontario, Canada N8N 1X8

Posted 06 September 2010, 04:45

Jennifer,

It would appear you have installed a contribution so that prices are only displayed to logged in users. Check the code edits for that contribution as it would appear you applied them incorrectly.



Chris
:|: Was this post helpful ? Click the LIKE THIS button :|:

:|: Check my About Me page for information about Support Plans, Templates, Custom Add Ons and Professional osCommerce Security Services :|:

#4 scottronic

  • Community Member
  • 3 posts
  • Real Name:Jennifer Johnstone

Posted 06 September 2010, 07:10

Awesome ! thanks Chris
the problem was in my "Prices for Logged-In Users Only v5" add-on module


**************************************
3. In includes/languages/english.php
**************************************

add:

// Start Prices for Logged-In Users Only v5
define('TEXT_LOG_IN_TO_SEE_PRICE', 'Please log in to see prices');
// End Prices for Logged-In Users Only v5


resolved, thank you very much :-))