Jump to content


Member Since 27 Apr 2009
ONLINE Last Active Today, 20:26

#1756258 Discount Code BS

Posted by raiwa on 28 April 2017 - 14:22


@Tsimi @raiwa

Is there a compatibility between "Discount Codes" and" Order Editor" addon ?

In the sense that you can apply a discount code in the order editor, no, this is not supported. But why would you need to do this??

You can just add an additional line in totals with negative discount amount and type as a concept "discount".




#1756229 Discount Code BS

Posted by raiwa on 27 April 2017 - 16:59



Maybe I'm missing something, but isn't "position: relative;" also required.

#1756185 Purchase without account for 2.3.4 and BS2334

Posted by raiwa on 26 April 2017 - 13:06

Hola Gustavo @PiLLaO,


The guest orders are flagged in the cm_cs_pwa_products_purchased.php module. Please make sure you are using that content module instead of the core module in the checkout_success page.

The related code lines are:

      if (tep_session_is_registered('customer_is_guest')){
        // flag guest order
        tep_db_query("update orders set customers_guest = '1' where customers_id = '" . (int)$customer_id . "'");

You also could check if the session parameter "customer_is_guest" gets correct registered during checkout process.




#1756151 Purchase without account for 2.3.4 and BS2334

Posted by raiwa on 25 April 2017 - 17:22



in the next visited page (if he doesn't tick the "keep account" option).

$navigation->snapshot['page'] shows previous page.

#1756066 QTPro BS

Posted by raiwa on 23 April 2017 - 08:53

@milerwan, @LeeFoster,


I'll try to have a look on this when I'll find some time. Please be patient.




#1755860 Discount Code BS

Posted by raiwa on 17 April 2017 - 10:39

Hello Marco @marcochiana,


In: Admin => Catalog => Discount Codes => Check: "Include discount code in the order info" and it will show as you wish.




#1755748 admin password

Posted by raiwa on 13 April 2017 - 18:41



1. go to phpMyAdmin

2. make a backup of your complete database

3. select the table "administrators"

4. select the line(s) you find there and delete all of them

5. go to your admin login page

6. you'll be prompted that no administrator exists and that you should create a new one

7. fill in your desired user and password

8. enter again the new user and password when you are prompted




If you had .htaccess pasword protection, to remove it before the above described:

1. open: admin/.htpasswd_oscommerce

2. delete all content

3. open: admin.htaccess

4. delete all lines at the end of file between:




Once you recreated your login and could enter your admin, go to:

Configuration => Administrators => Edit your admin => activate: Protect With htaccess/htpasswd => save



Hope this helps



#1755693 PayPal App v5.018 no shipping cost

Posted by raiwa on 12 April 2017 - 06:40



PayPal express works fine.


The customer needs to login to his paypal account with paypal express , then the shipping costs show up.

PayPal express retrieves the shipping options and costs from the store dynamically, so it needs a shipping address to show the options. Until the customer logs in or fills in the address in the pay without PayPa account form, no address is available => so no shipping can be shown.


You also need ssl on your site.




#1755605 Orders are not saved

Posted by raiwa on 09 April 2017 - 13:07

Hola Lionel @Lioelx,


PayPal (standard and express) uses their own module to process and save orders, they bypass checkout_process.php. 

So if it works with PayPal, but doesn't work with bank transfer and credit card, it looks pretty much that the problem is in checkout_process.php like Gustavo already pointed out. If you are using paypal express checkout, it could be also in checkout_confirmation.php, this page is also bypassed by PayPal Express.

For any case, to be sure and exclude any influence of the ordered products and customer account, please try to do test orders with exact the same products and options and with the same customer account. If this confirms that PayPal works and the other payment do not, recheck checkout_process.php (and checkout_confirmation.php) and if no other way, recover a version from a backup before the error appeared for the first time. It is possible that it is also a modification from an add-on which changes something related to checkout_confirmation.php or checkout_process.php or even the order class.


un saludo


#1755441 Reviews Navbar Header Module BS

Posted by raiwa on 04 April 2017 - 09:55

Reviews Navbar and Header Module BS
This Navbar and Header Modules intent to offer an alternative to the standard (core) side column boxes.
On small screens (Mobiles) the boxes are moved at the very bottom of the pages. They are therefore not useful for small devices. Header and Navbar Modules show on the top of the pages and are much more recommended for Mobile view. You can permanent replace your side column boxes to show always the Header or Navbar module instead on all screen sizes. Or you can add a device dependent helper class to the box and header/navbar module, so on desktop view the boxes are still used, but on smaller devices the header/navbar modules will replace them.
Instructions how to do this are included.

OsC 2.3.4 Bootstrap Community Editions EDGE at least up to 2017/01
PHP: 5.3, 5.4, 5.5, 5.6, 7.0
Filenames, Database Table Names and paths hardcoded. Superglobal variables used.
NOTE: The Navbar module requires EDGE version since 2016/02/25 which include modular navbar. Otherwise you need to update to modular navbar.

Download: http://addons.oscommerce.com/info/9562



Attached File  header_reviews_store.jpg   57.93KB   1 downloads

Attached File  navbar_reviews_store.jpg   57.57KB   0 downloads

Attached File  header_reviews_admin.jpg   34.92KB   0 downloads

#1755383 Grid / View Condition

Posted by raiwa on 02 April 2017 - 13:57

@CGhoST, observe that there is a "like" button and a "best answer" button :thumbsup:

#1755373 Grid / View Condition

Posted by raiwa on 02 April 2017 - 08:05




this works for me to change the size of the product name (title):

.item h2 {
  font-size: 50px;

.list-group-item h2 {
  font-size: 2px;

so to change the ribbon style you could try this:

.item .ribbon {
   left: 10px;
   top: -5px;

.list-group-item .ribbon {
   left: 10px;
   top: 5px;

Put this below the main definition for ribbon class.

Observe that you do not need to use different class names. You just condition different values for the position depending if "ribbon" class is child of "item" for grid view or if it is child of "list-group-item for list view.


or you could just add the positions for grid view to the main ribbon class definition and overwrite it for list view.

Then all styles would look like this:

.ribbon {
   position: absolute;
   left: 10px;
   top: -5px;
   z-index: 1;
   overflow: hidden;
   width: 75px; height: 75px; 
   text-align: right;

.list-group-item .ribbon {
   top: 5px;

#1755352 Grid / View Condition

Posted by raiwa on 01 April 2017 - 13:24



This: MODULE_HEADER_TAGS_GRID_LIST_VIEW_STATUS is a configuration constant which is changed in the admin configuration settings. It will not dynamically change on switching  the view in the store side.


You have to address your changes by css.

#1755347 Discount Codes BS

Posted by raiwa on 01 April 2017 - 11:39

Hola Gustavo @PiLLaO,


It's not possible in a header tag. Header tags are loaded before all the checks in checkout_process.php main page are performed. So it would be possible that the code is executed even the checkout is not successful and the customer is redirected to previous pages.

It could be moved into a hook, but then there would be still code changes needed in the checkout_process.php file to call the hook in the right place.

I would await for 2.4 to do it.




#1754428 PWA guest can't checkout beause of existing email

Posted by raiwa on 09 March 2017 - 06:59

Hello Smoky @crimble crumble,


Yes, like Steve already pointed out, there is a newer version which solves this issue:

Purchase without account BS reloaded 2.4r1