[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
 OpenForum.dk • Vis emne - Vægt angivelse på product info

Vægt angivelse på product info

Her kan du beskrive smarte løsninger og tips til andre.

Redaktør: Redaktionen

Vægt angivelse på product info

Indlægaf stak1 » 2005-08-4 20:26

Hej

Hvis man ønsker at oplyse sine kunder om vægt på produktsiden, kan det lade sig gøre ?
mvh
stak1
www.lyshus.dk
stak1
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-06-16 20:03
Geografisk sted: 8382 Hinnerup

Indlægaf stak1 » 2005-08-20 08:17

Hej

Jeg har søgt forgæves, men jeg mangler en contribe der kan angive vægten på produkt info ?, er der nogle af jer andre der har samme problem
mvh
stak1
www.lyshus.dk
stak1
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-06-16 20:03
Geografisk sted: 8382 Hinnerup

Indlægaf kigan » 2005-08-20 16:55

Hej.

Har værde inde Opsætning/Product Listing der en der hedder "Display Product Weight" Der skal du ænder dens værdi fra 0 til feks. 6


Mvh
Kevin
Mvh
Kevin Hansen


kigan
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-03-31 09:04
Geografisk sted: rønne

Indlægaf olby » 2005-08-20 18:29

Hej stak1.

Kigan har ret - m.h.t. produktlistning, men ikke products_info.

Produktets vægt bliver ikke læst ind på produktsiden, så det er 2 ting, der skal gøres.
Find denne linie:
[php] $product_info_query = tep_db_query("select p.products_id, pd.products_name, pd.products_description, p.products_model, p.products_make_an_offer, p.products_quantity, p.products_image, p.products_mediumimage, p.products_image_back, p.products_mediumimage, p.products_mediumimage_back, p.products_largeimage, p.products_largeimage_back, pd.products_url, p.products_price, p.products_tax_class_id, p.products_date_added, p.products_date_available, p.manufacturers_id, p.products_ship_time from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'");
[/php]
og indsæt p.products_weight, efter p.products_model.

Herefter kan du anvende:
[php]echo $product_info['products_weight'];[/php] et vilkårligt sted på siden.
Senest rettet af olby 2005-08-24 00:13, rettet i alt 1 gang.
Mvh olby
Hjælp til selvhjælp: Giv din kollega konstruktiv kritik og eller vejledning - tak :).
Brugeravatar
olby
Administrator
Administrator
 
Indlæg: 2552
Tilmeldt: 2003-01-1 22:27
Geografisk sted: Odder

Indlægaf stak1 » 2005-08-21 08:51

mvh
stak1
www.lyshus.dk
stak1
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-06-16 20:03
Geografisk sted: 8382 Hinnerup

Indlægaf stak1 » 2005-08-23 20:06

Er der nogen der kan gennemskue hvorfor vægten ikke angives ?, har fulgt olby's løsning.
mvh
stak1
www.lyshus.dk
stak1
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-06-16 20:03
Geografisk sted: 8382 Hinnerup

Indlægaf olby » 2005-08-24 00:13

Mvh olby
Hjælp til selvhjælp: Giv din kollega konstruktiv kritik og eller vejledning - tak :).
Brugeravatar
olby
Administrator
Administrator
 
Indlæg: 2552
Tilmeldt: 2003-01-1 22:27
Geografisk sted: Odder

Indlægaf stak1 » 2005-08-24 06:39

mvh
stak1
www.lyshus.dk
stak1
Godt igang
Godt igang
 
Indlæg: 116
Tilmeldt: 2005-06-16 20:03
Geografisk sted: 8382 Hinnerup


Tilbage til Tips & Tricks

Hvem er online

Brugere der læser dette forum: Ingen tilmeldte og 8 gæster

cron