Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

sirwiz

Archived
  • Posts

    4
  • Joined

  • Last visited

Profile Information

  • Real Name
    Marcin

sirwiz's Achievements

  1. priduct_info custom page problem my solution :) i tried add lines as bythevineyard do but my template for product info was still unavalible so i do it myself :) first open sts_display_output.php and find and delete this if ($scriptbasename == 'product_info.php') { require(STS_PRODUCT_INFO); } then find $sts_template_file = STS_DEFAULT_TEMPLATE; and below add this if ($scriptbasename = "product_info.php") { require(STS_PRODUCT_INFO); } if ($pipka == "1") { $sts_template_file = "includes/product_info.php.html"; } save and now edit product_info.php in your main shop directory on the begining after licensing and other stuff befor require('includes/application_top.php'); add $pipka = 1; that all if variable named pipka = 1 default template is product_info.php.html in your includes/ directory else sts_template.php i the same way we can do custom templates for any file in main shop direcory :) using $content or sts_product_info.php variables just remember to change $pipka variables depend on file and add new lines to sts_display_output.php example and $pipka = 2 to product_reviews.php and to sts_display_output.php if ($pipka == "2") { $sts_template_file = "includes/product_reviews.php.html"; } make tamplate for products_reviews jus remember that main concept of reviews is in $content variable and is not editable but serches categories newsletters are fulu editable as in sts_template.html for me its works :)
  2. bythevineyard, yes i install 2.01 and popup fix but i don't see any commented out lines maybe im blind but hmm plis tell me step after step what i must do to use product_info template or send me working version of sts_display_output with short info thx
  3. I install new sts and sts_template.html works ok when i change it my shop layout change cool but sts_product_info.php.html not works i tryed copy it to sts_templates/ to main includes/ and when i edit it products page wont change. 2 when i delete sts_product_info.php from configure.php STS works still with no errors and display products from like sts_template.html What am doing wrong I install all like in readme and ??????
  4. I install new sts and sts_template.html works ok when i change it my shop layout change cool but sts_product_info.php.html not works i tryed copy it to sts_templates/ to main includes/ and when i edit it products page wont change. 2 when i delete sts_product_info.php from configure.php STS works still with no errors and display products from like sts_template.html What am doing wrong I install all like in readme and ??????
×
×
  • Create New...