Jump to content


Corporate Sponsors


Latest News: (loading..)

Peper

Member Since 12 Jul 2008
Offline Last Active Yesterday, 18:48
-----

Topics I've Started

Microdata

11 February 2012, 05:04

Hi there

Is there anyone who integrated the goodrelations-for-oscommerce or something similar to enhance product listings succesfully lately?
It will be good to know what the results are impementing such data.

I see Google and Bing is starting to focus on this extra data

I given up on the addon mentioned, the xml does not validate and bit out of date

Please post your thoughts, tips or tricks for handling microdata - rdf data

Firefox 8

17 November 2011, 11:07

I found using Firefox 8 not logging out customers properly.
Customer logs in and then after logging out then clicking on create_account.php page he is automatically logged back in.

Piece of code I got in logoff.php file:
require('includes/application_top.php');

require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_LOGOFF);

$breadcrumb->add(NAVBAR_TITLE);

tep_session_unregister('customer_id');
tep_session_unregister('customer_default_address_id');
tep_session_unregister('customer_first_name');
// BOF Separate Pricing Per Customer
tep_session_unregister('sppc_customer_group_id');
tep_session_unregister('sppc_customer_group_show_tax');
tep_session_unregister('sppc_customer_group_tax_exempt');
if (tep_session_is_registered('sppc_customer_specific_taxes_exempt')) { tep_session_unregister('sppc_customer_specific_taxes_exempt');
}
// EOF Separate Pricing Per Customer
tep_session_unregister('customer_country_id');
tep_session_unregister('customer_zone_id');
tep_session_unregister('comments');
//kgt - discount coupons
tep_session_unregister('coupon');
//end kgt - discount coupons
$cart->reset();
//Facebook Connect

Anyone with similar issue or advice??

Image filename attaches to product URL

24 September 2011, 12:38

I've some weird url problem, The images file names attaches to product URL.
I have not found this in viewing page source, but spiders(including Google and other major) seems to get this right giving many 404 errors

I tried disabling piece by piece of the product_info.php page to pinpoint the faulty addon that's causing this to happen but could still not locate the error.

With W3 link validator http://validator.w3.org/checklink i could see how the 404's is generated - about 40 per product page

Url would be http://shop.xxxxxxxx.com/product_category_name/product_name/images/buttons/button_in_cart.gif
others ending e.g. , box_products_notifications.gif, /images/infobox/arrow_right.gif, /stylesheet_cat.css and even /password_forgotten.php

This happens to images that is linked and not linked including info box images and manufacturers image - there's seems to be no correlation how it is apended

Anyone with suggestions or solutions, PLEASE help

Product questions

11 September 2011, 13:27

I'm busy altering product reviews to product questions
Everything is already converted from catalog to admin to view, add, delete and so on

Need some help on this though to get answer_text working with the following
database => question_description table and then => questions_id languages_id questions_text answer_text
Like reviews, the product id is tied to the questions id

product_questions.php (product_reviews.php)
$questions_query_raw = "select r.questions_id, left(rd.questions_text, 180) as questions_text, r.date_added, r.customers_name from " . TABLE_QUESTIONS . " r, " . TABLE_QUESTIONS_DESCRIPTION . " rd where r.products_id = '" . (int)$product_info['products_id'] . "' and r.questions_id = rd.questions_id and rd.languages_id = '" . (int)$languages_id . "' order by r.questions_id desc";
  $questions_split = new splitPageResults($questions_query_raw, MAX_DISPLAY_NEW_QUESTIONS);

then further down I have
<td valign="top" class="main"><?php echo 'Q. ' . tep_break_string(tep_output_string_protected($questions['questions_text']), 60, '-<br>') . ((strlen($questions['questions_text']) >= 100) ? '..' : '') . '<br><br><i>';
?>
<?php echo 'A. ' . tep_break_string(tep_output_string_protected($questions_description['answer_text']), 60, '-<br>') . ((strlen($questions_descriptions['answer_text']) >= 100) ? '..' : '');
?>

As you can see, I tried to output the answer for the question
Any help in the right direction please

Product questions

10 September 2011, 07:58

Need some advice

Is there a addon where customer can ask question on a product, and then we can in admin give answer and manage them to be displayed for that specific product?

What I would like is so that the admin answer is displayed in that specific product page below the product description.
Currently the only addons similar to what I need, the answer is only e-mailed back to customer

This would be a really great addon if possible.