Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Recommended Posts

Well. Again. Replacing the WHILE with a FOREACH actually did solve the problem. (I still don't understand why though) I swear I tried it like 3 times, since I remembered that had fixed my problem before I guess I had not done so properly.

My apologies for all the posts. Problem solved. Moving on. Thanks!

Link to comment
Share on other sites

  • 2 months later...

Hi @raiwa - I tested QTpro Phoenix 7.2.0 on my Phoenix store Version 1.7.6.0 and found that when you add your quantities by attributes on the product page, the summary stock resets back to 0 upon clicking the save button. QTPro Doctor detects the quantity discrepancies between summary stock and options stock, so I go back to the product page > Attributes Stock tab and then click on the "Set the summary stock to: x" the total quantity updates OK, but again when clicking on the save button, the summary stock defaults back to 0. Did you test this version of QTpro on Phoenix Version 1.7.6.0 and did you see this happen too?

Thanks!

Edited by alix32
Link to comment
Share on other sites

Hi Alix @alix32,

I just checked on my Phoenix 1.0.7.4 develop store and can confirm this behaviour. I'm not sure, but I believe this was always like this.

Anyway you can easy adjust the total quantity using the button:

Automatic Solutions Avaliable:

Set the summary stock to:XX

ANd even you won't correct the total quantity, it has no effect on the correct stock showing and stock check working on the public store side.

Maybe I'll address this in the next update which is planned for the Phoenix 1.0.8.0 release.

regards
Rainer

Link to comment
Share on other sites

Hi Rainer,

I'm on OSCOM CE Phoenix v1.0.7.10 and getting the the follwing error if editing a product that has no attributes, if I try to save.

Notice: Undefined index: stockquantity in /includes/hooks/admin/categories/catQtPro.php on line 32

I disabled all other category hooks and don't  know what I may be missing.

Best regards

Christoph

Edited by beerbee
Link to comment
Share on other sites

Hi Christoph,

I do not get this error in my Phoenix 1.0.7.4 develop store which is the version for which QTPro 7.2.0 is tested.

However a notice error shouldn't prevent it to work, but you could try this in the mentioned line:

    $stockquantity = $_POST['stockquantity'] ?? '';

The next update is planned for the Phoenix 1.0.8.0 release which will address it.

Edited by raiwa
Link to comment
Share on other sites

  • 2 weeks later...

Hi Rainer,

Having installed your latest version (QTpro Phoenix 7.2.0) on Phoenix 1.0.7.11 I do have this :

PHP Notice:  Undefined index: products_options_track_stock in /xx/xx/xx/xx/includes/hooks/admin/products_attributes/paQtPro.php on line 65

And the admin /products_attributes.php table it is thrown off by the track stock column as seen in the image below.

Any ideas ? Thank you.
 

track_stock_column.jpg

Link to comment
Share on other sites

Please await the update which will come for the Phoenix 1.0.8.0 release.

Link to comment
Share on other sites

  • 2 weeks later...

Hi Rainer,

regarding the sort order of options and values. I was stumbling over this as I was looking into pad_base.php

In phoenix (v1.0.7.10)

/admin/attributes.php expects the field sort_order in table products_options and products_options_values, so this seems to be the core ordering option.

In cm_pi_qtpro_options.php the install process seems to look for another field:

     // Check if option/attributes sort order is used and add configuration entry
      if (tep_db_num_rows(tep_db_query("SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_SCHEMA='". DB_DATABASE . "' AND TABLE_NAME='products_options' AND COLUMN_NAME LIKE 'products_options_sort_order'")) == 1 ) {
        

So this option won'be available on vanilla phoenix if I understand correctly. 

There seems to be no option for sorting the values by the column sort_order in  products_options_values. 

Or do I miss something?

Best regards

Christoph

 

 

Link to comment
Share on other sites

On 12/4/2020 at 1:10 PM, raiwa said:

Please await the update which will come for the Phoenix 1.0.8.0 release.

 

Link to comment
Share on other sites

  • 2 months later...

Update uploaded:

QTpro Phoenix 7.3.0

Compatibility:
OSCOM CE Phoenix 1.0.7.15+
Tested with Phoenix 1.0.1.15/16
PHP: 7.0 - 7.4

Core changes:
NONE

Changes versus QTpro 7.2.0
- updated for Phoenix 1.0.7.15+
- fixed glitches in admin categories hook
- moved shop hooks and template files into custom template
- replaced order class extension by order process sitewide hooks
- merged order process hook into order process sitewide hook
- replaced alternative hopping cart content module by override template
- added support for PayPal Standard IPN attributes stock deduction
- modernized code to match actual core standards
- added back option images support


Full Package
Update In structions included

Link to comment
Share on other sites

Hi,

don't know if it is only me, but if i only have products without attributes in my cart I got two define errors on checkout.

changed both lines in  127 and 213 this way:

$products_attributes = $order->products[$i]['attributes'] ?? '';

in templates/override/includes/hooks/shop/siteWide/qtPro.php

Best regards

Christoph

Link to comment
Share on other sites

Update uploaded:

QTpro Phoenix 7.3.1

Version: 7.3.1.:

Compatibility:
OSCOM CE Phoenix 1.0.7.15+
Tested with Phoenix 1.0.1.15/16
PHP: 7.0 - 7.4

Core changes:
NONE

Changes versus QTpro 7.3.0
- fixed non working attribute stock update to zero in Admin : Categories/Products : Attributes Stock Tab.Thanks to @Owl Sauron
- fixed attrributes Price with Tax. Thanks to @Owl Sauron
- fixed undefined errors in checkout for products without attributes. Thanks to @beerbee

Changes versus QTpro 7.2.0
- updated for Phoenix 1.0.7.15+
- fixed glitches in admin categories hook
- moved shop hooks and template files into custom template
- replaced order class extension by order process sitewide hooks
- merged order process hook into order process sitewide hook
- replaced alternative hopping cart content module by override template
- added support for PayPal Standard IPN attributes stock deduction
- modernized code to match actual core standards
- added back option images support

 

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...